Class TdApi.ChecklistTask

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

public static class TdApi.ChecklistTask extends TdApi.Object
Describes a task in a checklist.
  • Field Details

    • id

      public int id
      Unique identifier of the task.
    • text

      public TdApi.FormattedText text
      Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, DateTime and automatically found entities.
    • completedBy

      @Nullable public TdApi.MessageSender completedBy
      Identifier of the user or chat that completed the task; may be null if the task isn't completed yet.
    • completionDate

      public int completionDate
      Point in time (Unix timestamp) when the task was completed; 0 if the task isn't completed.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ChecklistTask

      public ChecklistTask()
      Describes a task in a checklist.
    • ChecklistTask

      public ChecklistTask(int id, TdApi.FormattedText text, TdApi.MessageSender completedBy, int completionDate)
      Describes a task in a checklist.
      Parameters:
      id - Unique identifier of the task.
      text - Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, DateTime and automatically found entities.
      completedBy - Identifier of the user or chat that completed the task; may be null if the task isn't completed yet.
      completionDate - Point in time (Unix timestamp) when the task was completed; 0 if the task isn't completed.
  • 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