Class TdApi.AddChecklistTasks

Enclosing class:
TdApi

public static class TdApi.AddChecklistTasks extends TdApi.Function<TdApi.Ok>
Adds tasks to a checklist in a message.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat with the message.
    • messageId

      public long messageId
      Identifier of the message containing the checklist. Use messageProperties.canAddTasks to check whether the tasks can be added.
    • tasks

      public TdApi.InputChecklistTask[] tasks
      List of added tasks.
    • CONSTRUCTOR

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

    • AddChecklistTasks

      public AddChecklistTasks()
      Default constructor for a function, which adds tasks to a checklist in a message.

      Returns Ok

    • AddChecklistTasks

      public AddChecklistTasks(long chatId, long messageId, TdApi.InputChecklistTask[] tasks)
      Creates a function, which adds tasks to a checklist in a message.

      Returns Ok

      Parameters:
      chatId - Identifier of the chat with the message.
      messageId - Identifier of the message containing the checklist. Use messageProperties.canAddTasks to check whether the tasks can be added.
      tasks - List of added tasks.
  • 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