Pyrogram v2.2.21#
Scheme layer used: 223#
Added the
MessageEntitytypeDATE_TIME, allowing to show a formatted date and time to the user.Added the fields
chat_owner_left,chat_owner_changed,chat_has_protected_content_toggledandchat_has_protected_content_disable_requestedto the classMessage.Added the field
can_edit_tagto the classChatPermissions.Added the field
tagto the classChatMember.Added the field
can_manage_tagsto the classChatPrivileges.Added the methods
set_chat_member_tag()andprocess_chat_protected_content_disable_request(). Updated the methodset_chat_protected_content()to return the appropriate service message, if available.Added the field
sender_tagto the classMessage.Add
locationinChatand add missing parameters increate_supergroup().fix:
get_media_group()concurrent logic (contributed by @Alekzum).properly implement in_memory arg in client to support session string. (contributed by @anonymousx97 in #222).