Layer 227
ChannelForbidden
Indicates a channel/supergroup we can't access because we were banned, or for some other reason.
constructor
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true monoforum:flags.10?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
Parameters
| Name | Type | Description |
|---|---|---|
| Broadcast | flags .5? true | Is this a channel |
| Megagroup | flags .8? true | Is this a supergroup |
| Monoforum | flags .10? true | If set, this is a monoforum. |
| Id | long | Channel ID |
| AccessHash | long | Access hash |
| Title | string | Title |
| UntilDate | flags .16? int | The ban is valid until the specified date |
Returns
ChatGogram Example
// Creating ChannelForbidden constructor obj := &tg.ChannelForbidden{ Broadcast: nil, Megagroup: nil, Monoforum: nil, Id: int64(1234567890), AccessHash: int64(1234567890), Title: "Hello, World!", // ... more required fields }