Lonami / grammers

(tele)gramme.rs - use Telegram's API from Rust
https://t.me/gramme_rs
Apache License 2.0
554 stars 113 forks source link

Add Client.next_raw_update() #255

Closed dimentyy closed 2 months ago

dimentyy commented 2 months ago

To make it possible, ClientState now stores not the processed updates, but their raw tl forms and associated chat maps.

Instead of converting raw updates to friendly ones immediately after receiving them, Client.next_update now does when needed

Lonami commented 2 months ago

Seems reasonable.