MadelineProtoDocs/docs/API_docs/constructors/channelForbidden.md

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}