Link Search Menu Expand Document

Constructor: todoItem

Back to constructors index

An item of a todo list ».

Attributes:

NameTypeRequiredDescription
idintYesID of the item, a positive (non-zero) integer unique within the current list.
titleTextWithEntitiesYesText of the item, maximum length equal to todo_item_length_max ».

Type: TodoItem

Example:

$todoItem = ['_' => 'todoItem', 'id' => int, 'title' => TextWithEntities];