Layer 220
TodoItem
An item of a todo list.
constructor
todoItem#cba9a52f id:int title:TextWithEntities = TodoItem;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | int | ID of the item, a positive (non-zero) integer unique within the current list. |
| Title | TextWithEntities | Text of the item, maximum length equal to todo_item_length_max. |
Returns
TodoItemGogram Example
// Creating TodoItem constructor obj := &tg.TodoItem{ Id: 0, Title: &tg.TextWithEntities{}, }