Interface InputPageBlockListItem

Describes an item of a list page block to be sent.

interface InputPageBlockListItem {
    @type: "inputPageBlockListItem";
    blocks: InputPageBlock[];
    has_checkbox?: boolean;
    is_checked?: boolean;
    type: string;
    value: number;
}

Properties

@type: "inputPageBlockListItem"
blocks: InputPageBlock[]

Item blocks.

has_checkbox?: boolean

True, if the item has a checkbox.

is_checked?: boolean

True, if the item is checked.

type: string

Type of the item numbering type; must be one of "a" for a lowercase letter, "A" for an uppercase letter, "i" for lowercase Roman numerals, "I" for uppercase Roman numerals, "1" for decimal numbers, or empty for unordered lists.

value: number

Value of the item; pass 0 for unordered lists.