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 :obj:`~pyrogram.types.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 (:obj:`~pyrogram.types.User`, *optional*) – User that completed the task. omitted if the task wasn’t completed by a user.

  • completed_by_chat (:obj:`~pyrogram.types.Chat`, *optional*) – Chat that completed the task. omitted if the task wasn’t completed by a chat.

  • completion_date (:py:obj:`~datetime.datetime`, *optional*) – Date when the task was completed. None if the task isn’t completed.