Releases: LonamiWebs/Telethon
General improvements
Scheme layer used: 66 (changes) |
This release features:
- The documentation, available online here, has a new search bar.
- Better cross-thread safety by using
threading.Event
. - More improvements for running Telethon during a long period of time.
With the following bug fixes:
- Avoid a certain crash on login (occurred if an unexpected object ID was received).
- Avoid crashing with certain invalid UTF-8 strings.
- Avoid crashing on certain terminals by using known ASCII characters where possible.
- The
UpdatesThread
is now a daemon, and should cause less issues. - Temporary sessions didn't actually work (with
session=None
).
Minor notes:
.get_dialogs(count=
was renamed to.get_dialogs(limit=
.
Bot login and proxy support
Scheme layer used: 62 |
This release features:
- Bot login, thanks to @JuanPotato for hinting me about how to do it.
- Proxy support, thanks to @exzhawk for implementing it.
- Logging support, used by passing
--telethon-log=DEBUG
(orINFO
) as a command line argument.
With the following bug fixes:
- Connection fixes, such as avoiding connection until
.connect()
is explicitly invoked. - Uploading big files now works correctly.
- Fix uploading big files.
- Some fixes on the updates thread, such as correctly sleeping when required.
Long-run bug fix
Scheme layer used: 62 |
If you're one of those who runs Telethon for a long time (more than 30 minutes), this update by @strayge will be great for you. It sends periodic pings to the Telegram servers so you don't get disconnected and you can still send and receive updates!
Two factor authentication
Scheme layer used: 62 (changes) |
If you're one of those who love security the most, these are good news. You can now use two factor authentication with Telethon too! As internal changes, the coding style has been improved, and you can easily use custom session objects, and various little bugs have been fixed.
Updated pip version
Scheme layer used: 57 (changes) |
This release has no new major features. However, it contains some small changes that make using Telethon a little bit easier. Now those who have installed Telethon via pip
can also take advantage of changes, such as less bugs, creating empty instances of TLObjects
, specifying a timeout and more!
Ready, pip, go!
Scheme layer used: 55 |
Telethon is now available as a Python package! Those are really exciting news (except, sadly, the project structure had to change a lot to be able to do that; but hopefully it won't need to change much more, any more!)
Not only that, but more improvements have also been made: you're now able to both sign up and logout, watch a pretty "Uploading/Downloading... x%" progress, and other minor changes which make using Telethon easier.
Made InteractiveTelegramClient cool
Scheme layer used: 55 |
Yes, really cool! I promise. Even though this is meant to be a library, that doesn't mean it can't have a good interactive client for you to try the library out. This is why now you can do many, many things with the InteractiveTelegramClient
:
- List dialogs (chats) and pick any you wish.
- Send any message you like, text, photos or even documents.
- List the latest messages in the chat.
- Download any message's media (photos, documents or even contacts!).
- Receive message updates as you talk (i.e., someone sent you a message).
It actually is an usable-enough client for your day by day. You could even add libnotify
and pop, you're done! A great cli-client with desktop notifications.
Also, being able to download and upload media implies that you can do the same with the library itself. Did I need to mention that? Oh, and now, with even less bugs! I hope.
Media revolution and improvements to update handling!
Scheme layer used: 55 |
Telegram is more than an application to send and receive messages. You can also send and receive media. Now, this implementation also gives you the power to upload and download media from any message that contains it! Nothing can now stop you from filling up all your disk space with all the photos! If you want to, of course.
Handle updates in their own thread!
Scheme layer used: 55 |
This also implies that you won't need to send a request to receive an update (is someone typing? did they send me a message? has someone gone offline?). They will all be received instantly.
Some other cool examples of things that you can do: when someone tells you "Hello", you can automatically reply with another "Hello" without even needing to type it by yourself :)
However, be careful with spamming!! Do not use the program for that!
First working alpha version!
Scheme layer used: 55 |
There probably are some bugs left, which haven't yet been found. However, the majority of code works and the application is already usable! Not only that, but also uses the latest scheme as of now and handles way better the errors. This tag is being used to mark this release as stable enough.