ferogram.dev / ferogram
FG

ferogram

A native, elegant, and asynchronous MTProto framework in Rust for Telegram clients, bots, and applications.

Rust v0.6.5 MIT OR Apache-2.0
Cargo.toml
[dependencies]
ferogram = "0.6.5"

What it does

  • Authentication for both user accounts and bots via a single quick_connect() call
  • Dispatcher with composable filters (&, |, !) for routing updates
  • Finite state machine (ferogram-fsm) for multi-step bot conversations
  • Pluggable session backends: binary file, SQLite, LibSQL (Turso), or base64 string
  • Built-in MTProxy support, including Classic, DD, and FakeTLS transport
  • client.invoke() drops down to any raw TL function when the high-level API isn't enough
  • Voice and video calling via the tgcalls crate
Explore the workspace