MadelineProto/old_docs/API_docs_v70/constructors/pageBlockChannel.md

657 B

title description
pageBlockChannel pageBlockChannel attributes, type and example

Constructor: pageBlockChannel

Back to constructors index

Attributes:

Name Type Required
channel Chat Yes

Type: PageBlock

Example:

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

PWRTelegram json-encoded version:

{"_": "pageBlockChannel", "channel": Chat}

Or, if you're into Lua:

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