RichBlockListItem

class pyrogram.types.RichBlockListItem[source]

An item of a list.

Parameters:
  • label (str) – Label of the item.

  • blocks (List of pyrogram.types.RichBlock) – The content of the item.

  • has_checkbox (bool, optional) – True, if the item has a checkbox.

  • is_checked (bool, optional) – True, if the item has a checked checkbox.

  • value (int, optional) – For ordered lists, the numeric value of the item label.

  • type (str, 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.