Crate tdlib_rs

Source

Modules§

build
The build module is used to build the project using the enabled features. The features are correctly set when exactly one of the following features is enabled:
enums
functions
types

Functions§

create_client
Create a TdLib client returning its id. Note that to start receiving updates for a client you need to send at least a request with it first.
receive
Receive a single update or response from TdLib. If it’s an update, it returns a tuple with the Update and the associated client_id. Note that to start receiving updates for a client you need to send at least a request with it first.