Channel created
Layer is still in early development!
2🤔1
🚀 Layer Client v0.4.0 Released
This release brings major improvements to MTProto protocol compliance, the update engine, and the high-level client API.


Highlights
• Support latest layer 224 ✓
• Automatic bad_msg_notify resend
• seq_no correction (codes 32/33)
• Outgoing MsgsAck support
• Message container batching
• gzip_packed request support
• future_salts proactive fetching
• msg_resend_req handling

Update Engine
• pts / seq / qts tracking
• Channel getChannelDifference loop
• possible_gap buffering for recovery
• Update deadline detection
New Client APIs
• send_reaction()
• set_admin_rights()
• set_banned_rights()
• iter_participants()
• get_profile_photos()
• get_permissions()
• edit_inline_message()
Search
New builders: • SearchBuilder
• GlobalSearchBuilder
Progress


47 / 56 protocol & API gaps implemented (~84%)

Layer is now significantly closer to full MTProto compliance.

🔗 Release: https://github.com/ankit-chaubey/layer/releases/tag/v0.4.0
🔗 Changelog: https://github.com/ankit-chaubey/layer/commits/v0.4.0
2
Layer
🚀 Layer Client v0.4.0 Released
👋🏻 hello.. after updating to v0.4.2 there were some catch-up problems.
this is now fixed, and String Session support is added as an additional feature.
also the catch-up problem, RPC errors, and update gaps are fixed.
https://github.com/ankit-chaubey/layer/commit/feed862f6a3ac861d579a74822b30f4eb832de89

updated crates to v0.4.2 (stable)
while preparing the next release with many more features like MTProxy support and more!
3
🚀 Layer v0.4.4 Released
A new update has been pushed with major improvements to sessions, updates handling, and overall stability.
Commit:
https://github.com/ankit-chaubey/layer/commit/7d1b81403c9ba9aa06c6268528a01251535a1db2

Added
Portable String Sessions
• StringSessionBackend
Encode the full session (auth key + DC + peer cache) into a base64 string and store it anywhere (environment variables, databases, clipboard, etc).
• export_session_string()
Export the live client session as a printable string.

• LibSqlBackend
Session backend powered by libsql / Turso database.


🔔 Updates API
New typed updates:
• Update::ChatAction
Triggered when users start or stop typing, uploading, or recording.
• Update::UserStatus
Triggered when a contact's online status changes.
• sync_update_state()
Forces updates.getState synchronization to reconcile pts / seq counters after long disconnects.

⚙️ Client Improvements
• Client::with_string_session()
Convenience constructor for connecting using string sessions.
• disconnect() is now part of the primary public API.

🐛 Fixes
• send_chat_action with top_msg_id no longer panics on basic groups
• iter_participants pagination fixed (previously truncated around 200 users)
• GlobalSearchBuilder::fetch duplicate results fixed
• DownloadIter final chunk now trimmed correctly
• ban_participant timestamp overflow fixed on 32-bit targets
• answer_inline_query empty result RPC error fixed
• PossibleGapBuffer memory leak resolved


🔧 Changes
• Update enum is now #[non_exhaustive]
• Rust edition remains 2024
• TL Layer constant remains 224
Repository
https://github.com/ankit-chaubey/layer
🔗 Release: https://github.com/ankit-chaubey/layer/releases/tag/v0.4.4
🔗 Changelog: https://github.com/ankit-chaubey/layer/commits/v0.4.4
2🔥1
Channel photo updated
🚀 Layer v0.4.6 Released

Changes
• More usable public APIs
• API chaining support added
• Improved session management & retry handling
• Better peer / PTS cache handling
• Improved crypto handling
• Library performance improvements

📚 Docs:
https://layer.ankitchaubey.in
2🔥1