Skip to content

GramIO API Reference / gramio/dist / TelegramRichBlockListItem

Interface: TelegramRichBlockListItem

Defined in: @gramio/types/out/objects.d.ts:7806

An item of a list.

Documentation

Properties

PropertyTypeDescriptionDefined in
blocksTelegramRichBlock[]The content of the item@gramio/types/out/objects.d.ts:7814
has_checkbox?trueOptional. True, if the item has a checkbox@gramio/types/out/objects.d.ts:7818
is_checked?trueOptional. True, if the item has a checked checkbox@gramio/types/out/objects.d.ts:7822
labelstringLabel of the item@gramio/types/out/objects.d.ts:7810
type?TelegramRichBlockListItemTypeOptional. 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?numberOptional. For ordered lists, the numeric value of the item label@gramio/types/out/objects.d.ts:7826