- New methods to handle and observe client state changes:
Worker::get_client_state
,Worker::reset_auth
,Worker::wait_auth_state_change
,Worker::wait_client_state
. Seeexamples/handle_auth_state.rs
for details. JoinHandle
returned byWorker::start
now yields empty tuple.Worker::auth_client
renamed toWorker::bind_client
and does not returnJoinHandle
.SignalAuthStateHandler
added.ClientState
now does not containError
variant,Authorizing
variant added.RTDError::TdlibError(String)
changed toRTDError::TDLibError(rust_tdlib::types::error::Error)
.
- Fixed enums serializing
- Readme fixes
- Fixed stack overflow error
- Support for tdlib 1.7.0
- API changed because of need for support multiple clients: you can create multiple clients and bind it with one worker. See examples/main.rs for details.
- Updates received with tokio::mpsc::channel are exactly types::Update instead of types::TdType.
- Minor fixes and improvements.
- Fixed with_auth_state_handler for ClientBuilder.
- Documentation improvements.
- Improvements for docs.rs
client
feature enabled by default- possibility to write tdlib logs added
Initial library version.