MadelineProtoDocs/docs/API_docs/constructors/botCommandScopePeerAdmins.md
2024-05-01 14:53:46 +02:00

869 B

title description nav_exclude image
botCommandScopePeerAdmins The specified bot commands will be valid for all admins of the specified group or supergroup. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botCommandScopePeerAdmins

Back to constructors index

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

Attributes:

Name Type Required Description
peer InputPeer Optional The chat

Type: BotCommandScope

Example:

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