BotCommandScopeChatMember¶
- class telegram.BotCommandScopeChatMember(chat_id, user_id, *, api_kwargs=None)[source]¶
Bases:
telegram.BotCommandScopeRepresents the scope of bot commands, covering a specific member of a group or supergroup chat.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
type,chat_idanduser_idare equal.Use In
Added in version 13.7.
- Parameters:
- type[source]¶
Scope type
'chat_member'.- Type:
str