MadelineProtoDocs/docs/API_docs/constructors/pageBlockChannel.md

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}