- Update to 1.40.0:
* Additions
+ send_as and effect added to send_message and related methods.
+ MessageMediaGeoLive is now recognized for auto-input conversion.
* Enhancements
+ Improved wording when using a likely unintended session file.
+ Improved behaviour for matching Markdown links.
+ A truly clean update-state is now fetched upon login.
+ Time offset is now updated more reliably after connecting. This should
fix legitimate “message too old/new” issues.
* Bug fixes
+ ChannelParticipantLeft is now skipped in iter_participants.
+ spoiler flag was lost on MessageMediaPhoto auto-input conversion.
+ KeyboardButtonCopy is now recognized as an inline button.
+ Downloading web-documents should now work again. Note that this still
fetches the file from the original server.
- Add patch stop-using-event_loop-fixture.patch:
* Stop using removed event_loop fixture.
- Support both upper and lower case metadata directory names.
OBS-URL: https://build.opensuse.org/request/show/1296402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Telethon?expand=0&rev=15
* Additions
+ send_as and effect added to send_message and related methods.
+ MessageMediaGeoLive is now recognized for auto-input conversion.
* Enhancements
+ Improved wording when using a likely unintended session file.
+ Improved behaviour for matching Markdown links.
+ A truly clean update-state is now fetched upon login.
+ Time offset is now updated more reliably after connecting. This should
fix legitimate “message too old/new” issues.
* Bug fixes
+ ChannelParticipantLeft is now skipped in iter_participants.
+ spoiler flag was lost on MessageMediaPhoto auto-input conversion.
+ KeyboardButtonCopy is now recognized as an inline button.
+ Downloading web-documents should now work again. Note that this still
fetches the file from the original server.
- Add patch stop-using-event_loop-fixture.patch:
* Stop using removed event_loop fixture.
- Support both upper and lower case metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Telethon?expand=0&rev=34
* fix(session): persist session after `session.set_dc`
* Update to layer 195
* Avoid error when trying to reset deadline for no msgbox entries
* Updated to Layer 196 (#4525)
* Add missing parameters to Message constructor (#4529)
* Fix IOError with some image modes in photo resize This fixes image
compression with mode "P" (potentially others) which is necessary
as the server has erroneous alpha color with some types of images
(mode "P" for example). This also properly applies the background
argument that may be passed to _resize_photo_if_needed by always
compressing images with alpha regardless of whether the server
will compress the image for us.
* Document drop_author and add drop_media_captions drop_author is
already supported but is undocumented. drop_media_captions for
consistency with drop_author being implemented.
* Respect receive_updates=False
* Improve edit_message message type hint This also allows
utils.get_message_id to get the ID of InputMessageID.
* Update to layer 198
* Unconditionally match text and link text in markdown Fixes cases
where there's a nested [] in the text by matching until "](" is
reached. This doesn't match newlines in URLs because that makes
no sense.
* Fix overlapping URLs and improve overlapping in md Also remove the
unused overlap function.
* Make markdown URL regex less greedy Fixes multiple URLs in a single
message.
* fix: support batch sending of image URLs and video URLs in albums
* Consider range list-like This allows you to pass range() to things
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Telethon?expand=0&rev=30
- update to 1.38.0:
* Formatting entities misbehaved with albums.
* Sending a Message object with a file did not use the new file.
- update to 1.37.0:
* Support for CDN downloads should be back. Telethon still
prefers no CDN by default.
* FloodWaitPremium should now be handled like any other floodwaits.
* Fixed edge-case when using get_messages(..., reverse=True).
* ConnectionError when using proxies should be raised properly.
- update to 1.36.0:
* Certain updates, such as :tl:`UpdateBotStopped`, should now be
processed reliably.
- update to 1.35.0:
* "Custom secret support" should work with TcpMTProxy.
* Some type hints should now be more accurate.
* Session path couldn't be a pathlib.Path or None.
* Python versions older than 3.9 should now be supported again.
* Readthedocs should hopefully build the v1 documentation again.
- update to 1.34.0:
* reply_to_chat and reply_to_sender are now in Message.
* parse_mode with a custom instance containing both parse and
unparse should now work.
* Parsing and unparsing message entities should now behave better
in certain corner-cases.
- update to 1.33.0:
* webbrowser is now imported conditionally, to support niche environments.
Library should now retry on the suddenly-common TimedOutError.
- update to 1.32.0:
* new and changed raw API methods
- update to 1.31.0:
OBS-URL: https://build.opensuse.org/request/show/1225500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Telethon?expand=0&rev=11
* Formatting entities misbehaved with albums.
* Sending a Message object with a file did not use the new file.
- update to 1.37.0:
* Support for CDN downloads should be back. Telethon still
prefers no CDN by default.
* FloodWaitPremium should now be handled like any other floodwaits.
* Fixed edge-case when using get_messages(..., reverse=True).
* ConnectionError when using proxies should be raised properly.
- update to 1.36.0:
* Certain updates, such as :tl:`UpdateBotStopped`, should now be
processed reliably.
- update to 1.35.0:
* "Custom secret support" should work with TcpMTProxy.
* Some type hints should now be more accurate.
* Session path couldn't be a pathlib.Path or None.
* Python versions older than 3.9 should now be supported again.
* Readthedocs should hopefully build the v1 documentation again.
- update to 1.34.0:
* reply_to_chat and reply_to_sender are now in Message.
* parse_mode with a custom instance containing both parse and
unparse should now work.
* Parsing and unparsing message entities should now behave better
in certain corner-cases.
- update to 1.33.0:
* webbrowser is now imported conditionally, to support niche environments.
Library should now retry on the suddenly-common TimedOutError.
- update to 1.32.0:
* new and changed raw API methods
- update to 1.31.0:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Telethon?expand=0&rev=26