Interface MarkChecklistTasksAsDone

Adds tasks of a checklist in a message as done or not done. Request type for Tdjson#markChecklistTasksAsDone.

interface MarkChecklistTasksAsDone {
    @type: "markChecklistTasksAsDone";
    chat_id: number;
    marked_as_done_task_ids: number[];
    marked_as_not_done_task_ids: number[];
    message_id: number;
}

Properties

@type: "markChecklistTasksAsDone"
chat_id: number

Identifier of the chat with the message.

marked_as_done_task_ids: number[]

Identifiers of tasks that were marked as done.

marked_as_not_done_task_ids: number[]

Identifiers of tasks that were marked as not done.

message_id: number

Identifier of the message containing the checklist. Use messageProperties.can_mark_tasks_as_done to check whether the tasks can be marked as done or not done.