MadelineProtoDocs/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md
2019-12-27 17:48:04 +01:00

831 B

title description image
pageBlockPreformatted Preformatted (`<pre>` text) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockPreformatted

Back to constructors index

Preformatted (<pre> text)

Attributes:

Name Type Required Description
text RichText Yes Text
language string Yes Programming language of preformatted text

Type: PageBlock

Example:

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

Or, if you're into Lua:

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