InputChecklist¶
- class aiogram.types.input_checklist.InputChecklist(*, title: str, tasks: list[~aiogram.types.input_checklist_task.InputChecklistTask], parse_mode: str | ~aiogram.client.default.Default | None = <Default('parse_mode')>, title_entities: list[~aiogram.types.message_entity.MessageEntity] | None = None, others_can_add_tasks: bool | None = None, others_can_mark_tasks_as_done: bool | None = None, **extra_data: ~typing.Any)[source]¶
Describes a checklist to create.
Source: https://core.telegram.org/bots/api#inputchecklist
- title: str¶
Title of the checklist; 1-255 characters after entities parsing
- tasks: list[InputChecklistTask]¶
List of 1-30 tasks in the checklist
- parse_mode: str | Default | None¶
Optional. Mode for parsing entities in the title. See formatting options for more details
- title_entities: list[MessageEntity] | None¶
Optional. List of special entities that appear in the title, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are allowed
- others_can_add_tasks: bool | None¶
Optional. Pass
Trueif other users can add tasks to the checklist
- others_can_mark_tasks_as_done: bool | None¶
Optional. Pass
Trueif other users can mark tasks as done or not done in the checklist