receive

Function receive 

Source
pub fn receive() -> Option<(Update, i32)>
Expand description

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.