Interface InputChecklist

Describes a checklist to be sent.

interface InputChecklist {
    @type: "inputChecklist";
    others_can_add_tasks?: boolean;
    others_can_mark_tasks_as_done?: boolean;
    tasks: InputChecklistTask[];
    title: FormattedText;
}

Properties

@type: "inputChecklist"
others_can_add_tasks?: boolean

True, if other users can add tasks to the list.

others_can_mark_tasks_as_done?: boolean

True, if other users can mark tasks as done or not done.

List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks.

Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities.