Link Search Menu Expand Document

Constructor: todoList

Back to constructors index

Represents a todo list ».

Attributes:

NameTypeRequiredDescription
others_can_appendBoolOptionalIf set, users different from the creator of the list can append items to the list.
others_can_completeBoolOptionalIf set, users different from the creator of the list can complete items in the list.
titleTextWithEntitiesYesTitle of the todo list, maximum length equal to todo_title_length_max ».
listArray of TodoItemYesItems of the list.

Type: TodoList

Example:

$todoList = ['_' => 'todoList', 'others_can_append' => Bool, 'others_can_complete' => Bool, 'title' => TextWithEntities, 'list' => [TodoItem, TodoItem]];