Package org.drinkless.tdlib
Class TdApi.InputChecklistTask
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputChecklistTask
- Enclosing class:
- TdApi
Describes a task in a checklist to be sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Unique identifier of the task; must be positive.Text of the task; 1-getOption("checklist_task_text_length_max") characters without line feeds. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a task in a checklist to be sent.InputChecklistTask
(int id, TdApi.FormattedText text) Describes a task in a checklist to be sent. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public int idUnique identifier of the task; must be positive. -
text
Text of the task; 1-getOption("checklist_task_text_length_max") characters without line feeds. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputChecklistTask
public InputChecklistTask()Describes a task in a checklist to be sent. -
InputChecklistTask
Describes a task in a checklist to be sent.- Parameters:
id
- Unique identifier of the task; must be positive.text
- Text of the task; 1-getOption("checklist_task_text_length_max") characters without line feeds. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities.
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-