* fixed type hints of callback_data
its impotant to remeber all data saved in callback_data is text even if you pass to it integer
insofar as newbies often copy examples and modyfy this typing may help them make no mistake
* add protect_content param to all supported webhook responses
* Added classifier for Python 3.10
* Fix indentation for `ban_chat_member` function doc string
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* fix: don't save error as file
Raise an aiohttp.ClientResponseError if the response status is 400 or higher
#799
* fix tests
Co-authored-by: darksidecat <58224121+darksidecat@users.noreply.github.com>
* fix: silent update
Special thanks for @levlam for silent Telegram API updates with removing fields.
* chore: add removed_argument deprecation
* Mark removed argument in method alias
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* chore: bump version 5.5
* feat: add banChatSenderChat and unbanChatSenderChat
Added the methods banChatSenderChat and unbanChatSenderChat for banning and unbanning channel chats in supergroups and channels.
* feat: add has_private_forwards
Added the field has_private_forwards to the class Chat for private chats, which can be used to check the possibility of mentioning the user by their ID.
* feat: add has_protected_content
Added the field has_protected_content to the classes Chat and Message.
* feat: add is_automatic_forward
Added the field is_automatic_forward to the class Message.
* feat: add shortcuts
Added Chat.ban_sender_chat() and Chat.unban_sender_chat() shortcuts.
* docs: add new methods Source
* Create test case for invalid 'FSMContextProxy.update()' function
* Fix invalid 'FSMContextProxy.update()' function
* Verify that written data has been stored and read back correctly
* Added support of Bot API 5.4
* Bump version
* Added aliases for ChatJoinRequest object
* Create aiohttp session inside async function
* Try to fix compatibility with aiohttp 3.8
* Fixed compatibility with Python 3.10
* add destination_dir and make_dirs parameters to bot download aliases
* add the ability to save files to a directory with path completion based on file_path,
* add an option to automatically create directories in the file path
* Downloadable mixin uses directory creation parameter in bot methods
There is a problem with the current symbol on android devices. When trying to change the text of a post in a channel, the hidden link often disappeared when editing. Word joiner symbol seems to be more stable in this case.
https://en.wikipedia.org/wiki/Word_joiner