Class TdApi.InputChecklistTask

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

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

    • id

      public int id
      Unique identifier of the task; must be positive.
    • text

      public TdApi.FormattedText 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 CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InputChecklistTask

      public InputChecklistTask()
      Describes a task in a checklist to be sent.
    • InputChecklistTask

      public InputChecklistTask(int id, TdApi.FormattedText text)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR