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

nametypedescription
peerInputPeerThe chat
user_idInputUserThe user

type

BotCommandScope · other constructors: botCommandScopeDefault, botCommandScopeUsers, botCommandScopeChats, botCommandScopeChatAdmins, botCommandScopePeer, botCommandScopePeerAdmins

history

present in layers 130–229

idlayers
#0a1321f3130–229