GramIO API Reference / gramio/dist / TelegramRichBlockSectionHeading
Interface: TelegramRichBlockSectionHeading
Defined in: @gramio/types/out/objects.d.ts:7910
A section heading, corresponding to the HTML tags <h1>, <h2>, <h3>, <h4>, <h5>, or <h6>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
size | number | Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest | @gramio/types/out/objects.d.ts:7922 |
text | TelegramRichText | Text of the block | @gramio/types/out/objects.d.ts:7918 |
type | "heading" | Type of the block, always “heading” | @gramio/types/out/objects.d.ts:7914 |