MadelineProtoDocs/old_docs/API_docs_v102/constructors/pageBlockPreformatted.md
2019-06-24 15:45:02 +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'}