SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for python39-Telethon-1.21.1-15.1.noarch.rpm :

* Tue May 18 2021 Dead Mozay - Fix prermissions README.rst
* Tue May 18 2021 Dead Mozay - Update to version 1.21.1:
* Additions + Message.click() now supports a password parameter, needed when doing things like changing the owner of a bot via AATTBotFather. + New comment_to parameter in client.send_message(), and client.send_file() to comment on channel posts. + New has_left property for user permissions on client.get_permissions(). + New client.set_proxy() method which lets you change the proxy without recreating the client. You will need to reconnect for it to take effect, but you won’t need to recreate the client. This is also an external contribution.
* Enhancements + tgcrypto will now be used for encryption when installed. + utils.resolve_invite_link handles the newer link format. + Downloading files now retries once on TimeoutError, which has been happening recently. It is not guaranteed to work, but it should help. + Sending albums of photo URLs is now supported. + EXIF metadata is respected when automatically resizing photos, so the orientation information should no longer be lost. + Downloading a thumbnail by index should now use the correct size ordering. + Updated documentation and list of known RPC errors. + The library now treats a lack of ping responses as a network error. + client.kick_participant() now returns the service message about the user being kicked, so you can delete it. + Empty peers are excluded from the list of dialogs. + If the python-socks library is installed (new optional requirement), it will be used instead of pysocks for proxy support. This should fix some issues with proxy timeouts, because the new library natively supports asyncio. + client.send_file() will now group any media type, instead of sending non-image documents separatedly. This lets you create music albums, for example. + You can now search messages with a from_user that’s not a user. This is a Telegram feature, we know the name isn’t great, but backwards-compatibility has to be kept.
* Bug fixes + Message.edit wasn’t working in your own chat on events other than NewMessage. + client.delete_dialog() was not working on chats. + events.UserUpdate should now handle channels’ typing status. + InputNotifyPeer auto-cast should now work on other TLObject. + For some objects, False was not correctly serialized. + Fixed a KeyError on certain cases with Conversation. + Thumbnails should properly render on more clients. Installing hachoir may help. + Message search was broken when using a certain combination of parameters. + utils.resolve_id was misbehaving with some identifiers. + Fix TypeNotFoundError was not being propagated, causing deadlocks. + Invoking multiple requests at once with ordered=True was deadlocking. + When editing inline messages, the text parameter is preferred if provided. + Additional senders are unconditionally disconnected when disconnecting the main client, which should reduce the amount of asyncio warnings. + Automatic reconnection with no retries was failing. + PhotoPathSize is now ignored when determining a download size, since this “size” is not a JPEG thumbnail unlike the rest. + events.ChatAction should misbehave less. + Fixes related to conversation timeouts. + Large dates (over year 2038) now wrap around a 32-bit integer, which is the only way we can represent them to Telegram. Even if “wrong”, it makes things not crash, and it’s the best we can do with 32-bit dates. + The library was accidentally using a deprecated argument in one of its friendly methods, producing a warning. + Improvements to the way marked IDs are parsed. + SlowModeWaitError floods are no longer cached. + Getting the buttons for a message could fail sometimes. + Getting the display name for “forbidden” chats now works. + Better handling of errors in some internal methods.
* Wed Oct 21 2020 Steve Kowalik - Update to 1.17.0:
* Breaking Changes + Message.from_id is now a :tl:`Peer`, not int! If you want the marked sender ID (much like old behaviour), replace all uses of .from_id with .sender_id. This will mostly work, but of course in old and new versions you have to account for the fact that this sender may no longer be a user. + You can no longer assign to Message.reply_to_msg_id and Message.to_id because these are now properties that offer a \"view\" to the real value from a different field. + Answering inline queries with a photo or document will now send the photo or document used in the resulting message by default. Not sending the media was technically a bug, but some people may be relying on this old behaviour. You can use the old behaviour with include_media=False.
* Additions + New raise_last_call_error parameter in the client constructor to raise the same error produced by the last failing call, rather than a generic ValueError. + New formatting_entities parameter in client.send_message() , and client.send_file() to bypass the parse mode and manually specify the formatting entities. + New client.get_permissions() method to query a participant\'s permissions in a group or channel. This request is slightly expensive in small group chats because it has to fetch the entire chat to check just a user, so use of a cache is advised. + Message.click() now works on normal polls! + New local_addr parameter in the client constructor to use a specific local network address when connecting to Telegram. + client.inline_query() now lets you specify the chat where the query is being made from, which some bots need to provide certain functionality. + You can now get comments in a channel post with the reply_to parameter in client.iter_messages() . Comments are messages that \"reply to\" a specific channel message, hence the name (which is consistent with how Telegram\'s API calls it).
* Enhancements + Updated documentation and list of known errors. + If hachoir is available, the file metadata can now be extracted from streams and in-memory bytes. + The default parameters used to initialize a connection now match the format of those used by Telegram Desktop. + Specifying 0 retries will no longer cause the library to attempt to reconnect. + The library should now be able to reliably download very large files. + Global search should work more reliably now. + Old usernames are evicted from cache, so getting entities by cached username should now be more reliable. + Slightly less noisy logs. + Stability regarding transport-level errors (transport flood, authorization key not found) should be improved. In particular, you should no longer be getting unnecessarily logged out. + Reconnection should no longer occur if the client gets logged out (for example, another client revokes the session). + Bug fixes + In some cases, there were issues when using events.Album together with events.Raw . + For some channels, one of their channel photos would not show up in client.iter_profile_photos() . + In some cases, a request that failed to be sent would be forgotten, causing the original caller to be \"locked\" forever for a response that would never arrive. Failing requests should now consistently be automatically re-sent. + The library should more reliably handle certain updates with \"empty\" data. + Sending documents in inline queries should now work fine. + Manually using client.sign_up should now work correctly, instead of claiming \"code invalid\". + Special mention to some of the other changes in the 1.16.x series: + The thumb for download_media now supports both str and :tl:`VideoSize`. + Thumbnails are sorted, so -1 is always the largest.
* Fri Sep 11 2020 Steve Kowalik - Update to 1.16.4:
* Added support to force_file on any media, including things that were not possible before like .webp files.
* Sending a copy of messages with polls will now work when possible.
* The library now automatically retries on inter-dc call errors
* Square brackets removed from IPv6 addresses. This may fix IPv6 support.
* New client.qr_login().
* message.click now lets you click on buttons requesting phone or location.
* Wed Jun 03 2020 Dead Mozay - Update to version 1.14.0:
* No changelog was made available.
* Fri Feb 28 2020 Tomáš Chvátal - Format with spec-cleaner- Add missing runtime dependencies
* Thu Feb 27 2020 Dead Mozay - Initial package
 
ICM