* 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
* custom filter for filters_factory example
* Shortened the code
* added new example of filter registration
* simplifying Filters and more handlers
* upgrade example
* black reformat
* 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
* new: add field type ConstField
* new: add const fields for ChatMemberOwner
* new: better typings for get_chat_administrators
* new: add tests for chat owner fields
* fix: Type typing for class
* enh: alias is_chat_owner for is_chat_creator