Class TdApi.InputPageBlockListItem

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

public static class TdApi.InputPageBlockListItem extends TdApi.Object
Describes an item of a list page block to be sent.
  • 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.
    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.
    int
    Value of the item; pass 0 for unordered lists.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes an item of a list page block to be sent.
    InputPageBlockListItem(TdApi.InputPageBlock[] blocks, boolean hasCheckbox, boolean isChecked, int value, String type)
    Describes an item of a list page block to be sent.
  • 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

    • blocks

      public TdApi.InputPageBlock[] 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; pass 0 for unordered lists.
    • type

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

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

    • InputPageBlockListItem

      public InputPageBlockListItem()
      Describes an item of a list page block to be sent.
    • InputPageBlockListItem

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