* 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