github LonamiWebs/Telethon v0.11.2
Callable TelegramClient

latest releases: v1.36.0, v1.35.1, v1.35.0...
pre-release6 years ago
Scheme layer used: 68 (changes)

There is a new preferred way to invoke requests, which you're encouraged to use:

# New!
result = client(SomeRequest())

# Old.
result = client.invoke(SomeRequest())

Existing code will continue working, since the old .invoke() has not been deprecated.

When you .create_new_connection(), it will also handle FileMigrateError's for you, so you don't need to worry about those anymore.

Bugs fixed:

  • Fixed some errors when installing Telethon via pip (for those using either source distributions or a Python version ≤ 3.5).
  • ConnectionResetError didn't flag sockets as closed, but now it does.

On a more technical side, msg_id's are now more accurate.

Don't miss a new Telethon release

NewReleases is sending notifications on new releases.