mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
channelForbidden | Indicates a channel/supergroup we can't access because we were banned, or for some other reason. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelForbidden
Indicates a channel/supergroup we can't access because we were banned, or for some other reason.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
broadcast | Bool | Optional | Is this a channel |
megagroup | Bool | Optional | Is this a supergroup |
id | long | Yes | Channel ID |
access_hash | long | Yes | Access hash |
title | string | Yes | Title |
until_date | int | Optional | The ban is valid until the specified date |
Type: Chat
Example:
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'until_date' => int];