Package org.drinkless.tdlib
Class TdApi.AddChecklistTasks
- Enclosing class:
- TdApi
Adds tasks to a checklist in a message.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of the chat with the message.static final int
Identifier uniquely determining type of the object.long
Identifier of the message containing the checklist.List of added tasks. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which adds tasks to a checklist in a message.AddChecklistTasks
(long chatId, long messageId, TdApi.InputChecklistTask[] tasks) Creates a function, which adds tasks to a checklist in a message. -
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.canAddTasks to check whether the tasks can be added. -
tasks
List of added tasks. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-