932 B
932 B
title | description | image |
---|---|---|
pageBlockPreformatted | Page block preformatted | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageBlockPreformatted
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'}