Delete message

To delete a message, use the command messages/delete_message:

svc=messages/delete_message&params={"index":<uint>}

:!: You can find an example of this request in the sample Messages.

Parameters

Name Description
index message index

Response

<uint>		/* index of deleted message */

Errors

Code Description
4 There is no such message or this message is the last one and thus can't be deleted
6 Error deleting message
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam