Layer 220
constructor
botCommandScopePeerAdmins#3fd863d1 peer:InputPeer = BotCommandScope;

Parameters

Name Type Description
Peer InputPeer The chat

Returns

BotCommandScope

Gogram Example

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