rust-tdlib
Rust client for TDlib. Library allows you to interact with Telegram Database library. Currently supports tdlib v1.6.
Features
- client - provides total integration with TDlib API. See
examples
directory. Enabled by default. rust-tdlib provides only TDlib types without that feature.
Run example
- Build tdlib: https://core.telegram.org/tdlib/docs/#building. See the docs for rtdlib-sys for more details.
- Register your app: https://my.telegram.org and get
api_hash
andapi_id
. RUST_LOG=info API_ID=api_hash API_HASH=api_id TG_PHONE=your_phone_number cargo run client --example main