Skip to content

antonio-antuan/rust-tdlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-tdlib

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

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.
  2. Register 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