Interface InputChecklist

Describes a checklist to create.

interface InputChecklist {
    others_can_add_tasks?: boolean;
    others_can_mark_tasks_as_done?: true;
    parse_mode?: ParseMode;
    tasks: InputChecklistTask[];
    title: string;
    title_entities?: MessageEntity[];
}

Properties

others_can_add_tasks?: boolean

Pass True if other users can add tasks to the checklist

others_can_mark_tasks_as_done?: true

Pass True if other users can mark tasks as done or not done in the checklist

parse_mode?: ParseMode

Mode for parsing entities in the title. See formatting options for more details.

tasks: InputChecklistTask[]

List of 1-30 tasks in the checklist

title: string

Title of the checklist; 1-255 characters after entities parsing

title_entities?: MessageEntity[]

List of special entities that appear in the title, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.