Skip to content

GramIO API Reference / gramio/dist / TelegramInputRichBlockPreformatted

Interface: TelegramInputRichBlockPreformatted

Defined in: @gramio/types/out/objects.d.ts:8506

A preformatted text block, corresponding to the nested HTML tags <pre> and <code>.

Documentation

Properties

PropertyTypeDescriptionDefined in
language?stringOptional. The programming language of the text@gramio/types/out/objects.d.ts:8518
textTelegramRichTextText of the block@gramio/types/out/objects.d.ts:8514
type"pre"Type of the block, always “pre”@gramio/types/out/objects.d.ts:8510