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

BotCommandScopeChatMember fix

This commit is contained in:
Badiboy 2021-08-12 15:16:04 +03:00
parent 554b39a49a
commit 911e356930

View File

@ -1380,7 +1380,7 @@ class BotCommandScopeChatMember(BotCommandScope):
@param chat_id: Unique identifier for the target chat @param chat_id: Unique identifier for the target chat
@param user_id: Unique identifier of the target user @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 # InlineQuery