Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 08:27
· 155 commits to main since this release
v0.1.0
6fecbea

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 raw invoke for all 868 functions of layer 232
  • Sessions: saved to <name>.session, or exported as one VAE_... session string
  • Named errors: Error::Rpc(e) with e.name == "FLOOD_WAIT" and e.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