messages.toggleTodoCompleted
Mark one or more items of a todo list » as completed or not completed.
Mark one or more items of a [todo list »](https://core.telegram.org/api/todo.md) as completed or not completed.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | Peer where the todo list was posted. |
msg_id | int | أيوه | ID of the message with the todo list. |
completed | Vector<int> | أيوه | Items to mark as completed. |
incompleted | Vector<int> | أيوه | Items to mark as not completed. |
الردود
Updates
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.