1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1261 from Badiboy/master

BotCommandScopeChatMember fix
This commit is contained in:
Badiboy
2021-08-12 15:17:11 +03:00
committed by GitHub

View File

@ -1380,7 +1380,7 @@ class BotCommandScopeChatMember(BotCommandScope):
@param chat_id: Unique identifier for the target chat
@param user_id: Unique identifier of the target user
"""
super(BotCommandScopeChatMember, self).__init__(type='chat_administrators', chat_id=chat_id, user_id=user_id)
super(BotCommandScopeChatMember, self).__init__(type='chat_member', chat_id=chat_id, user_id=user_id)
# InlineQuery