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