Checklist¶
- class pyrogram.types.Checklist¶
Describes a checklist.
- Parameters:¶
title (
str) – Title of the checklist.entities (List of
MessageEntity, optional) – Entities in the title of the checklist. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities.tasks (List of
ChecklistTask, optional) – List of tasks in the checklist.others_can_add_tasks (
bool, optional) – True, if users other than creator of the list can add tasks to the list.can_add_tasks (
bool, optional) – True, if the current user can add tasks to the list if they have Telegram Premium subscription.others_can_mark_tasks_as_done (
bool, optional) – True, if users other than creator of the list can mark tasks as done or not done. If True, then the checklist is called “group checklist”.can_mark_tasks_as_done (
bool, optional) – True, if the current user can mark tasks as done or not done if they have Telegram Premium subscription.