Package org.drinkless.tdlib
Class TdApi.MarkChecklistTasksAsDone
- Enclosing class:
- TdApi
Adds tasks of a checklist in a message as done or not done.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
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
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat with the message. -
messageId
public long messageIdIdentifier 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[] markedAsDoneTaskIdsIdentifiers of tasks that were marked as done. -
markedAsNotDoneTaskIds
public int[] markedAsNotDoneTaskIdsIdentifiers of tasks that were marked as not done. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-