MadelineProtoDocs/old_docs/API_docs_v82/constructors/pageBlockPreformatted.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

932 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'];

PWRTelegram json-encoded version:

{"_": "pageBlockPreformatted", "text": RichText, "language": "string"}

Or, if you're into Lua:

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