RichBlockPreformatted
A preformatted text block, corresponding to the nested HTML tags <pre> and <code>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “pre” |
text | RichText | required | Text of the block |
language | string | optional | Optional. The programming language of the text |
import
import type { RichBlockPreformatted } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockpreformatted