Class TdApi.InputChecklist

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputChecklist
Enclosing class:
TdApi

public static class TdApi.InputChecklist extends TdApi.Object
Describes a checklist to be sent.
  • Field Details

    • title

      public TdApi.FormattedText title
      Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities.
    • tasks

      public TdApi.InputChecklistTask[] tasks
      List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks.
    • othersCanAddTasks

      public boolean othersCanAddTasks
      True, if other users can add tasks to the list.
    • othersCanMarkTasksAsDone

      public boolean othersCanMarkTasksAsDone
      True, if other users can mark tasks as done or not done.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR