messages.toggleTodoCompleted

Mark one or more items of a todo list » as completed or not completed.

 Method schema is available as of layer 205. Switch »

Parameters

Name Type Description
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.

Result

Updates

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Todo

Premium users can now create collaborative checklists in any chat to track tasks and coordinate teams — or manage shopping and to-do lists.