Add missing privileges to the promote_chat_member method

This commit is contained in:
KurimuzonAkuma 2023-12-28 18:04:05 +03:00
parent d8904a57e3
commit 5d9031c2c0

View File

@ -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,