InputChecklistTask

class pyrogram.types.InputChecklistTask

Describes a task to add to a checklist.

Parameters:
  • id (``int``) – Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.

  • text (``str``) – Text of the task; 1-100 characters after entities parsing.

  • parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together.

  • text_entities (List of :obj:`~pyrogram.types.MessageEntity`, *optional*) – List of special entities that appear in the poll option text, which can be specified instead of text_parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.