MadelineProtoDocs/old_docs/API_docs_v97/constructors/pageBlockPreformatted.md
2019-05-03 21:10:09 +02:00

790 B

title description image
pageBlockPreformatted Page block preformatted https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockPreformatted

Back to constructors index

Page block preformatted

Attributes:

Name Type Required Description
text RichText Yes Text
language string Yes Language

Type: PageBlock

Example:

$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string'];

Or, if you're into Lua:

pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'}