Link Search Menu Expand Document

Constructor: botCommandScopePeerAdmins

Back to constructors index

The specified bot commands will be valid for all admins of the specified group or supergroup.

Attributes:

NameTypeRequiredDescription
peerInputPeerOptionalThe chat

Type: BotCommandScope

Example:

$botCommandScopePeerAdmins = ['_' => 'botCommandScopePeerAdmins', 'peer' => InputPeer];