a9bbe275f8b2

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