ChecklistTask#

class pyrogram.types.ChecklistTask#

Describes a task in a checklist.

Parameters:
  • id (int) – Unique identifier of the task.

  • text (str) – Text of the task.

  • text_entities (List of MessageEntity, optional) – Special entities that appear in the task text. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Url, EmailAddress, Mention, Hashtag, Cashtag and PhoneNumber entities.

  • completed_by_user (User, optional) – User that completed the task. omitted if the task wasn’t completed by a user.

  • completed_by_chat (Chat, optional) – Chat that completed the task. omitted if the task wasn’t completed by a chat.

  • completion_date (datetime, optional) – Date when the task was completed. None if the task isn’t completed.