send_todo()

Client.send_todo()

Send a todo list to a chat.

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

  • title (str) – Title of the todo list.

  • tasks (List of TodoTask) – List of tasks in the todo list.

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

  • can_append (bool, optional) – True, if other users can append tasks to this todo list.

  • can_complete (bool, optional) – True, if other users can complete tasks in this todo list.