Module client

Source
Expand description

Module contains structs and traits, required for proper interaction with Telegram server.

Re-exports§

pub use auth_handler::AuthStateHandler;
pub use auth_handler::AuthStateHandlerProxy;
pub use auth_handler::ClientIdentifier;
pub use auth_handler::ConsoleAuthStateHandler;Deprecated
pub use auth_handler::SignalAuthStateHandler;Deprecated
pub use worker::Worker;
pub use worker::WorkerBuilder;

Modules§

auth_handler
Authorization state handlers.
worker
Handlers for all incoming data Handlers for all incoming data

Structs§

Client
Struct stores all methods which you can call to interact with Telegram, such as: send_message, download_file, search_chats and so on.
ClientBuilder
ConsoleClientStateHandler
ConsoleClientStateHandlerIdentified

Enums§

ClientState
Represents state of particular client instance.