Layer 220
constructor
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Broadcast flags.5?true Is this a channel
Megagroup flags.8?true Is this a supergroup
Id long Channel ID
AccessHash long Access hash
Title string Title
UntilDate flags.16?int The ban is valid until the specified date

Returns

Chat

Gogram Example

// Creating ChannelForbidden constructor
obj := &tg.ChannelForbidden{
    Id: int64(0),
    AccessHash: int64(0),
    Title: "...",

    // Optional fields:
    // Broadcast: true,
    // Megagroup: true,
    // UntilDate: 0,
}