telegram api constructor · layer 229 · #0a1321f3
botCommandScopePeerUser
The specified bot commands will be valid only for a specific user in the specified group or supergroup.
definition
botCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandScope;
parameters
| name | type | description |
|---|---|---|
peer | InputPeer | The chat |
user_id | InputUser | The user |
type
BotCommandScope · other constructors: botCommandScopeDefault, botCommandScopeUsers, botCommandScopeChats, botCommandScopeChatAdmins, botCommandScopePeer, botCommandScopePeerAdmins
history
present in layers 130–229
| id | layers |
|---|---|
| #0a1321f3 | 130–229 |