GramIO API Reference / gramio/dist / TelegramRichBlockListItem
Interface: TelegramRichBlockListItem
Defined in: @gramio/types/out/objects.d.ts:7806
An item of a list.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
blocks | TelegramRichBlock[] | The content of the item | @gramio/types/out/objects.d.ts:7814 |
has_checkbox? | true | Optional. True, if the item has a checkbox | @gramio/types/out/objects.d.ts:7818 |
is_checked? | true | Optional. True, if the item has a checked checkbox | @gramio/types/out/objects.d.ts:7822 |
label | string | Label of the item | @gramio/types/out/objects.d.ts:7810 |
type? | TelegramRichBlockListItemType | Optional. For ordered lists, the type of the item label; must be one of “a” for lowercase letters, “A” for uppercase letters, “i” for lowercase Roman numerals, “I” for uppercase Roman numerals, or “1” for decimal numbers | @gramio/types/out/objects.d.ts:7830 |
value? | number | Optional. For ordered lists, the numeric value of the item label | @gramio/types/out/objects.d.ts:7826 |