Package org.drinkless.tdlib
Class TdApi.InputPageBlockListItem
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPageBlockListItem
- Enclosing class:
- TdApi
Describes an item of a list page block to be sent.
-
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.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.intValue of the item; pass 0 for unordered lists. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
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; 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-