Repository navigation
v0.1.0
The first release: a Telegram MTProto client library for Rust, written from scratch, for bots and user accounts.
[dependencies]
vaegram = "0.1"Or the short name: vae = "0.1".
What works
- MTProto 2.0: TCP transport, the auth key handshake with every check from the
security guidelines, and an encrypted
session that handles salts, acks, containers, gzip, pings and clock fixes - Bot login:
Client::builder(...).bot_token(...).start(), with automatic data center migration - Methods:
send_message,get_me,resolve_peer, plus rawinvokefor all 868 functions of layer 232 - Sessions: saved to
<name>.session, or exported as oneVAE_...session string - Named errors:
Error::Rpc(e)withe.name == "FLOOD_WAIT"ande.value == Some(30) - Crypto by WarpCrypto
- Minimum Rust version: 1.85
Next
Update handlers and filters, friendly types, user login, auto-reconnect, and file transfers.
Full Changelog: https://github.com/rjriajul/vaegram/commits/v0.1.0