mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Add missing privileges to the promote_chat_member method
This commit is contained in:
parent
d8904a57e3
commit
5d9031c2c0
@ -85,8 +85,11 @@ class PromoteChatMember:
|
|||||||
anonymous=privileges.is_anonymous,
|
anonymous=privileges.is_anonymous,
|
||||||
change_info=privileges.can_change_info,
|
change_info=privileges.can_change_info,
|
||||||
post_messages=privileges.can_post_messages,
|
post_messages=privileges.can_post_messages,
|
||||||
|
post_stories=privileges.can_post_stories,
|
||||||
edit_messages=privileges.can_edit_messages,
|
edit_messages=privileges.can_edit_messages,
|
||||||
|
edit_stories=privileges.can_post_stories,
|
||||||
delete_messages=privileges.can_delete_messages,
|
delete_messages=privileges.can_delete_messages,
|
||||||
|
delete_stories=privileges.can_delete_stories,
|
||||||
ban_users=privileges.can_restrict_members,
|
ban_users=privileges.can_restrict_members,
|
||||||
invite_users=privileges.can_invite_users,
|
invite_users=privileges.can_invite_users,
|
||||||
pin_messages=privileges.can_pin_messages,
|
pin_messages=privileges.can_pin_messages,
|
||||||
|
Loading…
Reference in New Issue
Block a user