Skip to content

markChecklistTasksAsDone

Function · TDLib 1.8.67 · d1085f9c

Adds tasks of a checklist in a message as done or not done

markChecklistTasksAsDone(
  chat_id: int53,
  message_id: int53,
  marked_as_done_task_ids: list of int32,
  marked_as_not_done_task_ids: list of int32
) → Ok

chat_id

int53

Identifier of the chat with the message

message_id

int53

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

marked_as_done_task_ids

list of int32

Identifiers of tasks that were marked as done

marked_as_not_done_task_ids

list of int32

Identifiers of tasks that were marked as not done