ChecklistTasksDone

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

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.

Added in version 22.3.

Parameters:
checklist_message[source]

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[source]

Optional. Identifiers of the tasks that were marked as done

Type:

Tuple[int]

marked_as_not_done_task_ids[source]

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

Type:

Tuple[int]

classmethod de_json(data, bot=None)[source]

See telegram.TelegramObject.de_json().