Telethon Updates – Telegram
Telethon Updates
1.65K subscribers
32 photos
21 files
1.39K links
Official channel for updates about Telethon.
Official English group: @TelethonChat

Other channels:
• Russian: @TelethonRussian
• Persian: @TelethonGap
• Snippets: @TelethonSnippets2
Download Telegram
Fix TestSyncifyAsyncContext.test_sync_acontext on Python 3.14 (#4722) (664ceba by cjwatson)
🔥1
Fix Telethon could not be imported without sqlite3 (05b8488 by Lonami)
🔥2
Update proxy docs and warn if python-socks is not installed (5efa1fe by Lonami)
2
Add errors for chat restrictions (#4729) (f3bd039 by ouyooung)
🔥3
Update to layer 221 (980a2c0 by Lonami)
3👍2🔥2
Fix doc typos on some raw API types (#4732) (416570f by abcdenis)
5
Catch-all unknown RPCError and treat them as transient during getDiff… (d57be74 by Lonami)
2👍2🔥1🎉1
Update to layer 222 (208ac30 by Lonami)
🔥5😐3👍21👎1
Fix InvalidBuffedError on incomplete recv data (#4740) (295c736 by elysium31)
👍1
Telethon's repository will soon move from GitHub to Codeberg

I intend to do so before the end of this month. But if you have concerns, raise them now and I will try to answer.

All other repositories under both the Lonami user and LonamiWebs organization have already been moved and archived, with any issues and PRs they had closed with a comment directing to their new home (with exceptions for repositories that were archived and deprecated projects.)

Because these projects are not as popular as Telethon, I have decided to not copy over any issues or pull requests. I have a local copy of them that I intend to keep private in case I need to reference them after the GitHub repositories are taken down. I don't intend to repost this data online, with the hope of reducing the likeliness the original authors would take issue with it. Issues and PRs that were still valid on the now-archived repositories should be reopened in their new home.

I am currently undecided on whether all of Telethon's issues and pull requests should be ported over on the migration. I am currently leaning towards no, so that authors retain full ownership of their original comments. Because a proper migration would mean the comments would be reposted in a manner they can't control. But I may be persuaded on this.

I intend to keep the GitHub archives readonly for some time. Probably at least a month for my less-known projects, and significantly longer (or indefinitely) for those I consider important enough. I also intend to keep my GitHub account active, because unfortunately, most open source projects live there, and raising issues or submitting changes requires an account.

As for why Codeberg and not other Git forges or even self-hosting: this was one of the ones I had heard the most, and I align with their current views. Should it occur that things don't work out, I'll now have experience moving between forges.

I'm growing tired of GitHub and the direction it's going. While I don't have to deal with its interface as much for my open source work (responding to issues and reviewing changes occasionally), I strongly dislike how it's shoving LLM in every place it can. And I have strong moral concerns, shared by many others, on the current generation of LLMs, how they are trained, and how they are used. You don't need to look far to find the damage they are causing and how many are trying to defend against it (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, …)

I frankly should have done this way sooner. People have been writing that Free Software Needs Free Tools for longer than a decade. There are others who can better put into words How Github monopoly is destroying the open source ecosystem than I can.

The best time to migrate is in the past. The second best time is now. I hope this inspires others to also Give Up GitHub!
👍18😐129👎8🎉4
Telethon Updates pinned «Telethon's repository will soon move from GitHub to Codeberg I intend to do so before the end of this month. But if you have concerns, raise them now and I will try to answer. All other repositories under both the Lonami user and LonamiWebs organization…»
Add error code for sending videos in chat (#4741) (6e9bf16 by ouyooung)
2
Migrate off GitHub (dab6bc4 by Lonami)
👎18👍97🔥3😐1
All remaining previously-open issues and PRs have been closed with a short comment directing to the repository's new home.

The project now lives, and will continue to receive updates, in https://codeberg.org/Lonami/Telethon

Still pending is:
• looking into moving the API reference site (https://tl.telethon.dev) and sister site to view layer differences (https://diff.telethon.dev) elsewhere,
• cutting a new release with updated project links to PyPi,
• updating the bot to look at Codeberg to post about new commits here

As the post didn't receive that much attention, nobody really proposed to migrate issues or PRs, so it will start from a clean slate.

The GitHub project will remain as read-only for at least a year (…unless something catastrophic happens to GitHub, but that would be outside my control), and my current feeling is it would stay that way indefinitely (whether the history-until-now stays after a year is an open question).

Thanks to those that have been supportive, and sorry for the hassle this might cause.
👎2116🎉9👍5😁1
Support styles on inline buttons (#1) (df95884 by Shadxw)
🎉73😐1
Fix Button helper regressions introduced by commit df95884 (#5) (ddac2bc by Darskiy)
👍1
Support blockquote expandable tag when using html parse_mode (#4) (4ddfdb0 by zxcdiana)
4🔥2🎉1
Codeberg's atom feed does not seem to include the author (only the committer, which is always me), so unfortunately that part will no longer be included in the automatic messages about commits posted here.

The response also does not appear to include an ETag or Last-Modified header, so the polling frequency has also been reduced.
😐51
Update links to Codeberg (4b9798a)
Update links to Codeberg (2f87dfb)
Update to layer 223 (#7) (3dc25fd)
🔥53👎1😐1