MadelineProto/old_docs/API_docs_v70/constructors/pageBlockHeader.md

657 B

title description
pageBlockHeader pageBlockHeader attributes, type and example

Constructor: pageBlockHeader

Back to constructors index

Attributes:

Name Type Required
text RichText Yes

Type: PageBlock

Example:

$pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText];

PWRTelegram json-encoded version:

{"_": "pageBlockHeader", "text": RichText}

Or, if you're into Lua:

pageBlockHeader={_='pageBlockHeader', text=RichText}