MadelineProtoDocs/old_docs/API_docs_v105/constructors/channelForbidden.md
2019-09-13 17:13:55 +02:00

1.1 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];

Or, if you're into Lua:

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