Skip to content

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>.

Documentation

Properties

PropertyTypeDescriptionDefined in
language?stringOptional. The programming language of the text@gramio/types/out/objects.d.ts:7942
textTelegramRichTextText 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