Skip to content

PageBlockListItem

Type · TDLib 1.8.67 · d1085f9c

Describes an item of a list page block

PageBlockListItem(
  label: string,
  blocks: list of PageBlock,
  has_checkbox: Bool,
  is_checked: Bool,
  value: int32,
  type: string
) → PageBlockListItem

label

string

Item label

blocks

list of PageBlock

Item blocks

has_checkbox

Bool

True, if the item has a checkbox

is_checked

Bool

True, if the item is checked

value

int32

Value of the item; 0 for unordered lists

type

string

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