Package org.drinkless.tdlib
Class TdApi.InputChecklist
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputChecklist
- Enclosing class:
- TdApi
Describes a checklist to be sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if other users can add tasks to the list.boolean
True, if other users can mark tasks as done or not done.List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks.Title of the checklist; 1-getOption("checklist_title_length_max") characters. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a checklist to be sent.InputChecklist
(TdApi.FormattedText title, TdApi.InputChecklistTask[] tasks, boolean othersCanAddTasks, boolean othersCanMarkTasksAsDone) Describes 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
-
title
Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities. -
tasks
List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks. -
othersCanAddTasks
public boolean othersCanAddTasksTrue, if other users can add tasks to the list. -
othersCanMarkTasksAsDone
public boolean othersCanMarkTasksAsDoneTrue, if other users can mark tasks as done or not done. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputChecklist
public InputChecklist()Describes a checklist to be sent. -
InputChecklist
public InputChecklist(TdApi.FormattedText title, TdApi.InputChecklistTask[] tasks, boolean othersCanAddTasks, boolean othersCanMarkTasksAsDone) Describes a checklist to be sent.- Parameters:
title
- Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities.tasks
- List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks.othersCanAddTasks
- True, if other users can add tasks to the list.othersCanMarkTasksAsDone
- True, if other users can mark tasks as done or not done.
-
-
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
-