Layer 220
constructor
botCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandScope;

Parameters

Name Type Description
Peer InputPeer The chat
UserId InputUser The user

Returns

BotCommandScope

Gogram Example

// Creating BotCommandScopePeerUser constructor
obj := &tg.BotCommandScopePeerUser{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    UserId: &tg.InputUserSelf{},
}