RichBlockSectionHeading
A section heading, corresponding to the HTML tags <h1>, <h2>, <h3>, <h4>, <h5>, or <h6>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “heading” |
text | RichText | required | Text of the block |
size | number | required | Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest |
import
import type { RichBlockSectionHeading } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblocksectionheading