Module rust_tdlib::client::worker[][src]

Handlers for all incoming data Handlers for all incoming data

Structs

ConsoleAuthStateHandler

Provides minimal implementation of AuthStateHandler. All required methods wait for stdin input

Worker

The main object in all interactions. You have to [start](crate::client::worker::Worker::start] worker and bind each client with worker using auth_client.

WorkerBuilder

Traits

AuthStateHandler

AuthStateHandler trait provides methods that returns data, required for authentication It allows you to handle particular "auth states", such as WaitPassword, WaitPhoneNumber and so on.