BotCommandScopeChatMember¶
- class telegram.BotCommandScopeChatMember(chat_id, user_id, *, api_kwargs=None)[source]¶
Bases:
telegram.BotCommandScope
Represents 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_id
anduser_id
are equal.Use In
Added in version 13.7.
- Parameters:
- type[source]¶
Scope type
'chat_member'
.- Type: