Crate tdlib

Source

Modules§

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.