Skip to content
Back to top
View this page

# ChecklistTasksAdded

class telegram.ChecklistTasksAdded(tasks, checklist_message=None, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  Describes a service message about tasks added to a checklist.

  Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their `tasks` are equal.

  Available In

  `telegram.Message.checklist_tasks_added`

  Added in version 22.3.

  Parameters:

    - checklist_message (`telegram.Message`, optional) – Message containing the checklist to which tasks were added. Note that the ~:class:telegram.Message object in this field will not contain the `reply_to_message` field even if it itself is a reply.

    - tasks (Sequence[`telegram.ChecklistTask`]) – List of tasks added to the checklist

  checklist_message

    Optional. Message containing the checklist to which tasks were added. Note that the ~:class:telegram.Message object in this field will not contain the `reply_to_message` field even if it itself is a reply.

    Type:

      `telegram.Message`

  tasks

    List of tasks added to the checklist

    Type:

      Tuple[`telegram.ChecklistTask`]

  classmethod de_json(data, bot=None)

    See `telegram.TelegramObject.de_json()`.