Class TdApi.PageBlockListItem

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PageBlockListItem
Enclosing class:
TdApi

public static class TdApi.PageBlockListItem extends TdApi.Object
Describes an item of a list page block.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Item blocks.
    static final int
    Identifier uniquely determining type of the object.
    boolean
    True, if the item has a checkbox.
    boolean
    True, if the item is checked.
    Item label.
    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.
    int
    Value of the item; 0 for unordered lists.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes an item of a list page block.
    PageBlockListItem(String label, TdApi.PageBlock[] blocks, boolean hasCheckbox, boolean isChecked, int value, String type)
    Describes an item of a list page block.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • label

      public String label
      Item label.
    • blocks

      public TdApi.PageBlock[] blocks
      Item blocks.
    • hasCheckbox

      public boolean hasCheckbox
      True, if the item has a checkbox.
    • isChecked

      public boolean isChecked
      True, if the item is checked.
    • value

      public int value
      Value of the item; 0 for unordered lists.
    • type

      public String type
      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.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PageBlockListItem

      public PageBlockListItem()
      Describes an item of a list page block.
    • PageBlockListItem

      public PageBlockListItem(String label, TdApi.PageBlock[] blocks, boolean hasCheckbox, boolean isChecked, int value, String type)
      Describes an item of a list page block.
      Parameters:
      label - Item label.
      blocks - Item blocks.
      hasCheckbox - True, if the item has a checkbox.
      isChecked - True, if the item is checked.
      value - Value of the item; 0 for unordered lists.
      type - 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.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR