MadelineProtoDocs/old_docs/API_docs_v75/constructors/pageBlockTitle.md

722 B

title description image
pageBlockTitle pageBlockTitle attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockTitle

Back to constructors index

Attributes:

Name Type Required
text RichText Yes

Type: PageBlock

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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