Class TdApi.MarkChecklistTasksAsDone

Enclosing class:
TdApi

public static class TdApi.MarkChecklistTasksAsDone extends TdApi.Function<TdApi.Ok>
Adds tasks of a checklist in a message as done or not done.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the chat with the message.
    static final int
    Identifier uniquely determining type of the object.
    int[]
    Identifiers of tasks that were marked as done.
    int[]
    Identifiers of tasks that were marked as not done.
    long
    Identifier of the message containing the checklist.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which adds tasks of a checklist in a message as done or not done.
    MarkChecklistTasksAsDone(long chatId, long messageId, int[] markedAsDoneTaskIds, int[] markedAsNotDoneTaskIds)
    Creates a function, which adds tasks of a checklist in a message as done or not done.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.canMarkTasksAsDone to check whether the tasks can be marked as done or not done.
    • markedAsDoneTaskIds

      public int[] markedAsDoneTaskIds
      Identifiers of tasks that were marked as done.
    • markedAsNotDoneTaskIds

      public int[] markedAsNotDoneTaskIds
      Identifiers of tasks that were marked as not done.
    • CONSTRUCTOR

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

    • MarkChecklistTasksAsDone

      public MarkChecklistTasksAsDone()
      Default constructor for a function, which adds tasks of a checklist in a message as done or not done.

      Returns Ok

    • MarkChecklistTasksAsDone

      public MarkChecklistTasksAsDone(long chatId, long messageId, int[] markedAsDoneTaskIds, int[] markedAsNotDoneTaskIds)
      Creates a function, which adds tasks of a checklist in a message as done or not done.

      Returns Ok

      Parameters:
      chatId - Identifier of the chat with the message.
      messageId - Identifier of the message containing the checklist. Use messageProperties.canMarkTasksAsDone to check whether the tasks can be marked as done or not done.
      markedAsDoneTaskIds - Identifiers of tasks that were marked as done.
      markedAsNotDoneTaskIds - Identifiers of tasks that were marked as 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