Package org.drinkless.tdlib
Class TdApi.PageBlockListItem
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PageBlockListItem
- Enclosing class:
- TdApi
Describes an item of a list page block.
-
Field Summary
FieldsModifier and TypeFieldDescriptionItem blocks.static final intIdentifier uniquely determining type of the object.booleanTrue, if the item has a checkbox.booleanTrue, 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.intValue of the item; 0 for unordered lists. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
label
Item label. -
blocks
Item blocks. -
hasCheckbox
public boolean hasCheckboxTrue, if the item has a checkbox. -
isChecked
public boolean isCheckedTrue, if the item is checked. -
value
public int valueValue 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-