Delete Message
To delete messages to any particular user or group you can use the below API.
info
{api-base-url} can be obtained from the MirrorFly console.
HTTP request#
Request Params#
| Param | DataType | Required | Description |
|---|---|---|---|
| deleteForEveryOne | Boolean | NO | By default, Delete for Everyone will be considered as False, Delete for Me should be performed |
| messageId | String | Yes | Message ID of User/Group to delete message |
Responses#
If successful, this action returns below response, in the response body.
Error#
In the case of an error, an error object like below is returned.
When the token passed in Headers is expired
In the case of a Bad Request, an error message is returned