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

Parameters

string $type
int|string $chat_id
int $user_id

at line 25
string getType()

Scope type, must be chat_member.

Return Value

string

at line 35
int|string getChatId()

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).

Return Value

int|string

at line 43
int getUserId()

Unique identifier of the target user.

Return Value

int