MadelineProtoDocs/docs/API_docs/constructors/pageBlockPreformatted.md
2024-05-01 14:53:46 +02:00

775 B

title description nav_exclude image
pageBlockPreformatted Preformatted (<pre> text) true 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'];