BotCommandScopeChatMember
class BotCommandScopeChatMember implements BotCommandScopeInterface
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
Methods
__construct(string $type, int|string $chat_id, int $user_id)
No description
string
getType()
Scope type, must be chat_member.
int|string
getChatId()
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).
int
getUserId()
Unique identifier of the target user.
Details
at line 15
__construct(string $type, int|string $chat_id, int $user_id)
No description
at line 25
string
getType()
Scope type, must be chat_member.
at line 35
int|string
getChatId()
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).
at line 43
int
getUserId()
Unique identifier of the target user.