Lonami

Results 70 issues of Lonami

https://t.me/TelethonChat/286358

cleanup

It should be on demand, so that we don't try to generate it in weird places. There's also no use to generating it at arbitrary points because there's nothing the...

cleanup

Probably [borrow it from `tdesktop`](https://github.com/telegramdesktop/tdesktop/blob/c1f3fe1961959f939746a4dad925eb3bae65d585/Telegram/SourceFiles/mtproto/session_private.cpp#L1486-L1538). Otherwise it fails very badly, Telegram sends up to 4865 `bad_msg_notification` before giving up with 429 Too Many Requests as seen in [log.txt.zip](https://github.com/LonamiWebs/Telethon/files/4560748/log.txt.zip) (148KB compressed,...

cleanup

https://core.telegram.org/mtproto/description#content-related-message

cleanup

Maybe it would be wise to have some form of base class that indicates "this can be converted into this input type".

enhancement

> If you don't enter your password in time, the srp id will expire. Sending the password after it expires results in an rpc_error: SRP_ID_INVALID. This can be resolved by...

cleanup

Something like: ```python client.delete_messages(chat, from_user='foo') ``` This would use [`channels.deleteUserHistory`](https://tl.telethon.dev/methods/channels/delete_user_history.html) (after verifying that's actually the right request to use…). Parameter name may vary, and it should be documented that bots...

enhancement

Currently, [the library downloads `WebDocument` and `WebDocumentNoProxy` in the same way](https://github.com/LonamiWebs/Telethon/blob/c1774276c2ae706593ab1965e07a154ea53aa3f1/telethon/client/downloads.py#L358). This however is a security risk, since it allows websites to learn information about the client, such as IP...

bug

The code that generates https://tl.telethon.dev is a mess and should be cleaned up. In particular, things like "here" being a link are a sign of poor accessibility (the link should...

cleanup

Currently the only way is to click for the tower you want to buy, and once it spawns, drag it. Although both approaches are fine, dragging feels more natural to...

discussion
todo