InputChecklist
Describes a checklist to create.
fields
| field | type | required | description |
|---|---|---|---|
title | string | required | Title of the checklist; 1-255 characters after entities parsing |
parse_mode | string | optional | Optional. Mode for parsing entities in the title. See formatting options for more details. |
title_entities | MessageEntity[] | optional | 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. |
tasks | InputChecklistTask[] | required | List of 1-30 tasks in the checklist |
others_can_add_tasks | boolean | optional | Optional. Pass True if other users can add tasks to the checklist |
others_can_mark_tasks_as_done | boolean | optional | Optional. Pass True if other users can mark tasks as done or not done in the checklist |
import
import type { InputChecklist } from "@yaebal/types";used by
methods
official Bot API docs: https://core.telegram.org/bots/api/#inputchecklist