InputChecklist#
- class pyrogram.types.InputChecklist#
Describes a checklist to create.
- Parameters:
title (
str
) – Title of the checklist; 1-255 characters after entities parsing.parse_mode (
ParseMode
, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together.title_entities (List of
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.tasks (List of
InputChecklistTask
) – List of 1-30 tasks in the checklist.others_can_add_tasks (
bool
, optional) – Pass True if other users can add tasks to the checklist.others_can_mark_tasks_as_done (
bool
, optional) – Pass True if other users can mark tasks as done or not done in the checklist.