MadelineProtoDocs/old_docs/API_docs_v89/constructors/channelForbidden.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

title description image
channelForbidden Forbidden channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelForbidden

Back to constructors index

Forbidden channel

Attributes:

Name Type Required Description
broadcast Bool Optional Broadcast?
megagroup Bool Optional Megagroup?
id int Yes ID
access_hash long Yes Access hash
title string Yes Title
until_date int Optional Until date

Type: Chat

Example:

$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int];

PWRTelegram json-encoded version:

{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string", "until_date": int}

Or, if you're into Lua:

channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title='string', until_date=int}