telegram.BotCommandScopeChatAdministrators
- class telegram.BotCommandScopeChatAdministrators(chat_id, **_kwargs)
Bases:
telegram.botcommandscope.BotCommandScopeRepresents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
typeandchat_idare equal.New in version 13.7.
- Parameters
chat_id (
str|int) – Unique identifier for the target chat or username of the target supergroup (in the format@supergroupusername)
- type
Scope type
telegram.BotCommandScope.CHAT_ADMINISTRATORS.- Type
str
- chat_id
Unique identifier for the target chat or username of the target supergroup (in the format
@supergroupusername)- Type
str|int