MadelineProtoDocs/old_docs/API_docs_v40/constructors/pageBlockChannel.md
2020-06-16 17:50:25 +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}