Skip to content

InputChecklist

Type · TDLib 1.8.67 · d1085f9c

Describes a checklist to be sent

InputChecklist(
  title: FormattedText,
  tasks: list of InputChecklistTask,
  others_can_add_tasks: Bool,
  others_can_mark_tasks_as_done: Bool
) → InputChecklist

title

FormattedText

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

tasks

list of InputChecklistTask

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

others_can_add_tasks

Bool

True, if other users can add tasks to the list

others_can_mark_tasks_as_done

Bool

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