Fix old non existing can_send_[sticker...] with can_send_other_messages (#746)
c9d0c5d75a
This commit is contained in:
parent
9e9a944e86
commit
aea1ffc46f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user