mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
869 B
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
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];