Lonami

Results 704 comments of Lonami

Note that updates have just been overhauled in the Git version. Currently `grammers-client` exposes way too many raw types (anything from `grammers-tl-types`), when it should instead expose customly-made types that...

Yes. If two different people message you privately one after the other, their message IDs will be N and N+1.

Sounds like the GIF happens to live in a different datacenter, whcih is why `auth.importAuthorization` is being called. I'd suggest looking at https://github.com/Lonami/grammers/blob/ed516f5e8ff1ab537ad40c6ef37063bb59c8778c/lib/grammers-client/src/client/net.rs#L324-L351, and making sure that this is only...

If you know of a way to reuse the code without duplicating it, that would be preferable. Using `include!` was simply the first thing that came to mind.

My plan for v2 was primarily to redesign the core of the library based on what I had learnt from making grammers, and use proper types. As for the high-level...

> When can you review the network-wise? Not sure. Telethon v1's network stack matured this much over time, and I suspect something similar will happen with v2. > Better to...

> Is v2 ready for production use? No, and I unfortunately do not know when it will be.

I'm okay adding it behind a feature gate. If you're willing to send a PR, you would need to modify the generator to emit the derive, but I suppose that...

The generator is used by grammers-tl-types' `build.rs` script.

`build.rs` runs when its crate or the dependencies of its crate change. So changing the `api.tl`, the generator, or the types package itself, should cause it to re-run. > telegram...