product:chat
Delete message
Deletes message
Sends events:
- message.deleted
delete/messages/{id}
Path parameters
idstring required
Message ID to delete
Query parameters
hardboolean
Delete all message reactions and replies as well
deleted_bystring
delete_for_meboolean
Delete the message only for the user making the request
Response
Response
Example response
{
"message": {
"draft": {
"channel": {
"config": {
"partition_ttl": "24h"
}
}
},
"reminder": {
"channel": {
"config": {
"partition_ttl": "24h"
}
}
},
"shared_location": {
"channel": {
"config": {
"partition_ttl": "24h"
}
}
}
}
}