MadelineProto/old_docs/API_docs_v70/constructors/pageBlockSubheader.md

681 B

title description
pageBlockSubheader pageBlockSubheader attributes, type and example

Constructor: pageBlockSubheader

Back to constructors index

Attributes:

Name Type Required
text RichText Yes

Type: PageBlock

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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