diff --git a/pyrogram/methods/chats/restrict_chat_member.py b/pyrogram/methods/chats/restrict_chat_member.py index f8a05a0f..d0cc9338 100644 --- a/pyrogram/methods/chats/restrict_chat_member.py +++ b/pyrogram/methods/chats/restrict_chat_member.py @@ -79,10 +79,10 @@ class RestrictChatMember(Scaffold): until_date=until_date, send_messages=True if not permissions.can_send_messages else None, send_media=True if not permissions.can_send_media_messages else None, - send_stickers=True if not permissions.can_send_stickers else None, - send_gifs=True if not permissions.can_send_animations else None, - send_games=True if not permissions.can_send_games else None, - send_inline=True if not permissions.can_use_inline_bots else None, + send_stickers=True if not permissions.can_send_other_messages else None, + send_gifs=True if not permissions.can_send_other_messages else None, + send_games=True if not permissions.can_send_other_messages else None, + send_inline=True if not permissions.can_send_other_messages else None, embed_links=True if not permissions.can_add_web_page_previews else None, send_polls=True if not permissions.can_send_polls else None, change_info=True if not permissions.can_change_info else None,