MadelineProtoDocs/old_docs/API_docs_v86/constructors/pageBlockPreformatted.md

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'}