MadelineProtoDocs/old_docs/API_docs_v42/constructors/pageBlockChannel.md
2020-09-12 12:47:38 +02:00

699 B

title description image
pageBlockChannel Reference to a telegram channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockChannel

Back to constructors index

Reference to a telegram channel

Attributes:

Name Type Required Description
channel Chat Optional The channel/supergroup/chat

Type: PageBlock

Example:

$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat];

Or, if you're into Lua:

pageBlockChannel={_='pageBlockChannel', channel=Chat}