set_todo_tasks_completion()

Client.set_todo_tasks_completion()

Set the completion status of one or more todo tasks.

Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • message_id (int) – Unique identifier of the message containing the todo list.

  • completed_ids (int | List of int, optional) – Unique identifier of the todo tasks to be marked as completed. If a list is provided, all tasks in the list will be marked as completed.

  • incompleted_ids (int | List of int, optional) – Unique identifier of the todo tasks to be marked as incomplete. If a list is provided, all tasks in the list will be marked as incomplete.