pypi Telethon 0.13.4
More bug fixes and enhancements

latest releases: 1.35.0, 1.34.0, 1.33.1...
6 years ago

New stuff:

  • TelegramClient now exposes a .is_connected() method.
  • Initial authorization on a new data center will retry up to 5 times by default.
  • Errors that couldn't be handled on the background thread will be raised on the next call to .invoke() or updates.poll().

Bugs fixed:

  • Now you should be able to sign in even if you have process_updates=True and no previous session.
  • Some errors and methods are documented a bit clearer.
  • .send_message() could randomly fail, as the returned type was not expected.

Things that should reduce the amount of crashes:

  • TimeoutError is now ignored, since the request will be retried up to 5 times by default.
  • "-404" errors (BrokenAuthKeyError's) are now detected when first connecting to a new data center.
  • BufferError is handled more gracefully, in the same way as InvalidCheckSumError's.
  • Attempt at fixing some "NoneType has no attribute…" errors (with the .sender).

Other internal changes:

  • Calling GetConfigRequest is now made less often.
  • The initial_query parameter from .connect() is gone, as it's not needed anymore.
  • Renamed all_tlobjects.layer to all_tlobjects.LAYER (since it's a constant).
  • The message from BufferError is now more useful.

Don't miss a new Telethon release

NewReleases is sending notifications on new releases.