add_task_to_todo()

Client.add_task_to_todo()

Add tasks to a todo list.

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

  • message_id (int | str) – Unique identifier for the target message or username of the target channel.

  • tasks (List of InputTodoTask) – List of tasks to be added to the todo list.

  • parse_mode (str, optional) – The parse mode to use for formatting the text.

  • entities (List of MessageEntity, optional) – Entities in the title of the todo list.