peyk.platforms.telegram.types.checklist¶
Classes
|
Describes a checklist. |
- class peyk.platforms.telegram.types.checklist.Checklist(title: str = '', tasks: List[ChecklistTask] | None = None, others_can_add_tasks: bool | None = None, others_can_mark_tasks_as_done: bool | None = None)[source]¶
Bases:
objectDescribes a checklist.
- Variables:
title (str) – Title of the checklist
tasks (List[peyk.platforms.telegram.types.checklist_task.ChecklistTask] | None) – List of tasks in the checklist
title_entities – Special entities that appear in the checklist title
others_can_add_tasks (bool | None) – True, if users other than the creator of the list can add tasks to the list
others_can_mark_tasks_as_done (bool | None) – True, if users other than the creator of the list can mark tasks as done or not done
- title: str = ''¶
- tasks: List[ChecklistTask] | None = None¶
- others_can_add_tasks: bool | None = None¶
- others_can_mark_tasks_as_done: bool | None = None¶