ChecklistTasksAdded

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

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.

Added in version 22.3.

Parameters:
checklist_message[source]

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

List of tasks added to the checklist

Type:

Tuple[telegram.ChecklistTask]

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

See telegram.TelegramObject.de_json().