telegramx.js

RichBlockListItem

interface

An item of a list.

Declaration

interface RichBlockListItem 

Properties

blocksproperty#
blocks: RichBlock[];

The content of the item

has_checkbox?: boolean;

Optional. True, if the item has a checkbox

is_checkedproperty#
is_checked?: boolean;

Optional. True, if the item has a checked checkbox

labelproperty#
label: string;

Label of the item

typeproperty#
type?: string;

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

valueproperty#
value?: number;

Optional. For ordered lists, the numeric value of the item label