mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
754 B
754 B
title | description | nav_exclude | image |
---|---|---|---|
botCommandScopePeer | The specified bot commands will be valid only in a specific dialog. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: botCommandScopePeer
The specified bot commands will be valid only in a specific dialog.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | InputPeer | Optional | The dialog |
Type: BotCommandScope
Example:
$botCommandScopePeer = ['_' => 'botCommandScopePeer', 'peer' => InputPeer];