InputRichBlockListItem
An item of a list to be sent.
fields
| field | type | required | description |
|---|---|---|---|
blocks | InputRichBlock[] | required | The content of the item |
has_checkbox | boolean | optional | Optional. Pass True if the item has a checkbox |
is_checked | boolean | optional | Optional. Pass True if the item has a checked checkbox |
value | number | optional | Optional. For ordered lists, the numeric value of the item label |
type | "a" | "A" | "i" | "I" | optional | 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 |
import
import type { InputRichBlockListItem } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inputrichblocklistitem