GramIO API Reference / gramio/dist / TelegramRichBlockPreformatted
Interface: TelegramRichBlockPreformatted
Defined in: @gramio/types/out/objects.d.ts:7930
A preformatted text block, corresponding to the nested HTML tags <pre> and <code>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
language? | string | Optional. The programming language of the text | @gramio/types/out/objects.d.ts:7942 |
text | TelegramRichText | Text of the block | @gramio/types/out/objects.d.ts:7938 |
type | "pre" | Type of the block, always “pre” | @gramio/types/out/objects.d.ts:7934 |