mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
[Bot API 4.4] Update chat permissions
- Move can_* permissions back to ChatMember objects - Rename restrict_chat to set_chat_permissions - Update restrict_chat_member to accept a single ChatPermissions arg. - Update ChatPermissions to be the same as the one on the Bot API
This commit is contained in:
@@ -189,6 +189,7 @@ def pyrogram_api():
|
||||
delete_chat_photo
|
||||
set_chat_title
|
||||
set_chat_description
|
||||
set_chat_permissions
|
||||
pin_chat_message
|
||||
unpin_chat_message
|
||||
get_chat
|
||||
@@ -199,7 +200,6 @@ def pyrogram_api():
|
||||
get_dialogs
|
||||
iter_dialogs
|
||||
get_dialogs_count
|
||||
restrict_chat
|
||||
update_chat_username
|
||||
archive_chats
|
||||
unarchive_chats
|
||||
|
Reference in New Issue
Block a user