rust-tdlib

September 29, 2023 ยท View on GitHub

update to support tdlib1.8.9 new author flow

Rust client for TDlib.
Library allows you to interact with Telegram Database library.
Currently, supports tdlib v1.8.9.

### Features
* client - provides total integration with TDlib API. See `examples` directory. Enabled by default. rust-tdlib provides only TDlib types without this feature. 

### Run example
1. [Build tdlib](https://core.telegram.org/tdlib/docs/#building).
2. [Register](https://my.telegram.org) your app and get `api_hash` and `api_id`.
3. `RUST_LOG=info API_ID=api_id API_HASH=api_hash cargo run --example main`
4. `RUST_LOG=info API_ID=api_id API_HASH=api_hash cargo run --example read_updates`