Telethon Updates
1.45K subscribers
29 photos
21 files
1.34K links
Official channel for updates about Telethon.
Official English group: @TelethonChat

Other channels:
• Russian: @TelethonRussian
• Persian: @TelethonGap
• Snippets: @TelethonSnippets2
Download Telegram
If you were using the v1.24 branch, the above update contains virtually no changes. But now that branch is available in PyPi for the wider public. Please report any bugs you may find with the new update handling in GitHub. The latest layer is also now available (144). You can use this version to send reactions and other premium features if you are premium, with raw API.

https://tl.telethon.dev/ has been updated to include these new raw API methods.
Telethon Updates
Version 1.25.1
I could not test some of the fixes since I was unable to reproduce many of the issues people reported with regards to update handling. Please be sure to report any bug you may find with regards to update handling! In particular the scary-looking "Fatal error handling updates" which mentions ENTRY_SECRET, since this was the most common by far, should be fixed, but if it's not I would like to hear about it.
Telethon Updates
Version 1.25.1
v1.25.2 was released earlier today. It contains two tiny changes:
• Updated list of errors and updates log messages to include the channel ID (otherwise the log messages were useless)
get_dialogs (and iter_dialogs) were not filling the channel pts correctly (needed so that updates from them could be fetched properly). This is now fixed.

Nothing major but when reporting bugs please do so with the latest version (currently v1.25.2).

I've also (hopefully) fixed @TelethonianBot to start posting commits here (it was broken because the same code was used for StackOverflow which had started causing 403 on the requests).
Lower severity of some log messages during update handling (d2b1c3e by Lonami)
Add CHAT_FORWARDS_RESTRICTED to known errors (7f472ee by Lonami)
Fix get_running_loop usage in Python3.6 (#3941) (908375a by salismazaya)
Shield disconnect from cancellation (ad2238e by Lonami)
Document that disconnect cancels event handlers (04cf295 by Lonami)
Let download_profile_photo work with min-User (299b090 by Lonami)
Don't unnecessarily refetch the sender twice (db29e9b by Lonami)
Fix iter_messages was stopping too early in some channels (b6d8311 by Lonami)
Beware of random links in Telethon's wiki pages on GitHub. Anyone can edit these wiki pages, and someone had added a link to what is possibly a virus.

If you find such malicious links please let me know and be sure to remove them from the wiki (and maybe even report the user to GitHub).

Telethon doesn't have any "installer", and definitely not an .exe file. The correct way to install the official Telethon version is via pip install telethon.
Fix edit_admin failing on small Chat (949b54f by Lonami)
Bump to v1.25.3 (7f5a1ec by Lonami)
Revert accidental NO_UPDATES_TIMEOUT change and bump to v1.25.4 (2d237c4 by Lonami)
Telethon Updates
v1.25.2 was released earlier today. It contains two tiny changes: • Updated list of errors and updates log messages to include the channel ID (otherwise the log messages were useless) • get_dialogs (and iter_dialogs) were not filling the channel pts correctly…
v1.25.4 has been released with the following changes:
• "Timeout waiting for updates" is now a DEBUG log, not INFO (among others)
errors.ChatForwardsRestrictedError can now be used
• The library should work again in Python 3.6 (but if you're using that, consider upgrading your Python version)
client.disconnect should no longer hang when used from event handlers
client.download_profile_photo should now work with "min" users
client.iter_messages should no longer miss messages in channels with non-displayable messages
client.edit_admin was failing on small chats
Update to layer 146 (#3933) (f819593 by New-dev0)
Fix MediaEmptyError error when sending some videos (#3951) (ef4f9a9 by th3c00lw0lf)
Fix iter_messages could get stuck on global search (b3266fa by Lonami)
Document how to send spoilers and custom emoji (0980d55 by Lonami)
Fix sender destroy session handling was not running (a7db08d by Lonami)
Fix log message formatting when obj was not updates (f902c92 by Lonami)
Handle DestroyAuthKey result more gracefully (2ffac2d by Lonami)
Handle ConnectionError during update handling (0c86806 by Lonami)
Fix some typos and add note about BotFather in migration guide (073b87b by Lonami)