Package org.drinkless.tdlib
Class TdApi.Checklist
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Checklist
- Enclosing class:
- TdApi
Describes a checklist.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the current user can add tasks to the list if they have Telegram Premium subscription.booleanTrue, if the current user can mark tasks as done or not done if they have Telegram Premium subscription.static final intIdentifier uniquely determining type of the object.booleanTrue, if users other than creator of the list can add tasks to the list.booleanTrue, if users other than creator of the list can mark tasks as done or not done.List of tasks in the checklist.Title of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a checklist.Checklist(TdApi.FormattedText title, TdApi.ChecklistTask[] tasks, boolean othersCanAddTasks, boolean canAddTasks, boolean othersCanMarkTasksAsDone, boolean canMarkTasksAsDone) Describes a checklist. -
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
-
title
Title of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities. -
tasks
List of tasks in the checklist. -
othersCanAddTasks
public boolean othersCanAddTasksTrue, if users other than creator of the list can add tasks to the list. -
canAddTasks
public boolean canAddTasksTrue, if the current user can add tasks to the list if they have Telegram Premium subscription. -
othersCanMarkTasksAsDone
public boolean othersCanMarkTasksAsDoneTrue, if users other than creator of the list can mark tasks as done or not done. If true, then the checklist is called "group checklist". -
canMarkTasksAsDone
public boolean canMarkTasksAsDoneTrue, if the current user can mark tasks as done or not done if they have Telegram Premium subscription. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Checklist
public Checklist()Describes a checklist. -
Checklist
public Checklist(TdApi.FormattedText title, TdApi.ChecklistTask[] tasks, boolean othersCanAddTasks, boolean canAddTasks, boolean othersCanMarkTasksAsDone, boolean canMarkTasksAsDone) Describes a checklist.- Parameters:
title- Title of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities.tasks- List of tasks in the checklist.othersCanAddTasks- True, if users other than creator of the list can add tasks to the list.canAddTasks- True, if the current user can add tasks to the list if they have Telegram Premium subscription.othersCanMarkTasksAsDone- True, if users other than creator of the list can mark tasks as done or not done. If true, then the checklist is called "group checklist".canMarkTasksAsDone- True, if the current user can mark tasks as done or not done if they have Telegram Premium subscription.
-
-
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
-