Constructor: todoList
Represents a todo list ».
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| others_can_append | Bool | Optional | If set, users different from the creator of the list can append items to the list. |
| others_can_complete | Bool | Optional | If set, users different from the creator of the list can complete items in the list. |
| title | TextWithEntities | Yes | Title of the todo list, maximum length equal to todo_title_length_max ». |
| list | Array of TodoItem | Yes | Items of the list. |
Type: TodoList
Example:
$todoList = ['_' => 'todoList', 'others_can_append' => Bool, 'others_can_complete' => Bool, 'title' => TextWithEntities, 'list' => [TodoItem, TodoItem]];