MadelineProtoDocs/old_docs/API_docs_v57/constructors/channelForbidden.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00: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

Type: Chat

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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