BotCommandScopeChatAdministrators
class BotCommandScopeChatAdministrators implements BotCommandScopeInterface
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Methods
__construct(string $type, int|string $chat_id)
No description
string
getType()
Scope type, must be chat_administrators.
int|string
getChatId()
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).
Details
at line 14
__construct(string $type, int|string $chat_id)
No description
at line 23
string
getType()
Scope type, must be chat_administrators.
at line 33
int|string
getChatId()
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).