Skip to content
Back to top
View this page

# ChecklistTasksDone

class telegram.ChecklistTasksDone(checklist_message=None, marked_as_done_task_ids=None, marked_as_not_done_task_ids=None, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  Describes a service message about checklist tasks marked as done or not done.

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

  Available In

  `telegram.Message.checklist_tasks_done`

  Added in version 22.3.

  Parameters:

    - checklist_message (`telegram.Message`, optional) – Message containing the checklist whose tasks were marked as done or not done. 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.

    - marked_as_done_task_ids (Sequence[`int`], optional) – Identifiers of the tasks that were marked as done

    - marked_as_not_done_task_ids (Sequence[`int`], optional) – Identifiers of the tasks that were marked as not done

  checklist_message

    Optional. Message containing the checklist whose tasks were marked as done or not done. 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`

  marked_as_done_task_ids

    Optional. Identifiers of the tasks that were marked as done

    Type:

      Tuple[`int`]

  marked_as_not_done_task_ids

    Optional. Identifiers of the tasks that were marked as not done

    Type:

      Tuple[`int`]

  classmethod de_json(data, bot=None)

    See `telegram.TelegramObject.de_json()`.