v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
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

durationstring required

Duration of the request in milliseconds