Skip to content

TODO / Roadmap #3

@ankit-chaubey

Description

@ankit-chaubey

As of now

MTProto protocol

  • Full DH handshake
  • Perfect Forward Secrecy
  • AES-IGE encrypt/decrypt
  • AES-256-CTR for CDN
  • RSA key encryption
  • PQ factorization
  • Gzip packed containers
  • MsgContainer batching with container_map tracking
  • MsgsAck and pending ack batching
  • FLOOD_WAIT auto-sleep
  • TL schema code generation

Transport & networking

  • Abridged transport
  • Intermediate transport
  • Padded intermediate transport
  • Obfuscated transport
  • MTProxy support
  • SOCKS5 with authentication
  • DNS-over-HTTPS resolver
  • Automatic DC migration
  • Auth key copy across DCs
  • CDN downloads and reupload flow
  • Probe transport race
  • Works in restricted regions via MTProxy and transport obfuscation

Session

  • File session backend
  • In-memory session backend
  • String session backend
  • SQLite session backend
  • libSQL session backend
  • Custom session backend support
  • Atomic saves
  • Catch-up mode on reconnect

Update engine

  • PTS, QTS, seq, date tracking
  • Per-channel PTS tracking
  • getDifference recovery cascade
  • getChannelDifference recovery cascade
  • Gap detection and deadline-driven diff loop
  • updatesTooLong recovery
  • Bounded dedup cache beneath pts machinery

Authentication

  • Phone login
  • Bot login
  • QR login
  • 2FA via SRP
  • Native and string session restore

Client API

  • Messages: send, edit, delete, forward, schedule, pin
  • Media upload/download APIs
  • CDN media handling
  • iter_download and upload_from_path
  • Reactions, polls, dice
  • Inline keyboards and callback queries
  • Inline query answering
  • Conversations (ask/respond flow)
  • Dialog management
  • Per-chat and global search
  • Participants: get, kick, ban, search
  • Mini Apps
  • ~164 high-level APIs covering major Telegram use cases

Reliability

  • FixedInterval reconnect strategy
  • ExponentialBackoff reconnect strategy
  • Pending ack batching
  • Replay attack prevention
  • Deduplicated update processing
  • 261 tests

Developer experience

  • Filters: text, media, command, from_user, in_chat, custom
  • Middleware chain
  • FSM with pluggable storage
  • Markdown v1/v2 parsing
  • HTML parsing and generation
  • 19 examples

In progress

  • Secret chats (will publish near v1)
  • Python bindings: ferogram-py
  • Minimal userbot: FeroUB
  • Group calls (pure Rust implementation in progress)
  • Cross-language bindings (~40% complete)

Planned

  • Raw API Docs: Ferogram API
  • Documentation site
  • v1.0 release

If you want more features, let me know at @FerogramChat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions