MadelineProtoDocs/old_docs/API_docs_v45/constructors/channelForbidden.md
2019-12-27 17:48:04 +01:00

963 B

title description image
channelForbidden Indicates a channel/supergroup we can't access because we were banned, or for some other reason. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelForbidden

Back to constructors index

Indicates a channel/supergroup we can't access because we were banned, or for some other reason.

Attributes:

Name Type Required Description
id int Yes Channel ID
access_hash long Yes Access hash
title string Yes Title

Type: Chat

Example:

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

Or, if you're into Lua:

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