MadelineProtoDocs/old_docs/API_docs_v55/constructors/channelForbidden.md

989 B

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

Or, if you're into Lua:

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