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.TelegramObjectDescribes 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_idsandmarked_as_not_done_task_idsare equal.Available In
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 thereply_to_messagefield even if it itself is a reply.marked_as_done_task_ids (Sequence[
int], optional) – Identifiers of the tasks that were marked as donemarked_as_not_done_task_ids (Sequence[
int], optional) – Identifiers of the tasks that were marked as not done
- 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_messagefield even if it itself is a reply.- Type:
- 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]