Delete a message
delete_messagePermanently delete a Google Chat message. Use force to also remove threaded replies when the message started a thread.
Instructions
Permanently deletes a message. With user authentication the user can delete their OWN messages; space managers can also delete others' messages in spaces they manage — otherwise PERMISSION_DENIED (a Chat permission rule, not a missing scope). If the message started a thread that has replies, the delete fails with FAILED_PRECONDITION; force=true deletes the replies too but works only with app (service-account) authentication. Deletion cannot be undone — read the message with get_message first if its content matters. Returns an empty object on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Also delete threaded replies (app authentication only; ignored for user auth). | |
| message | Yes | The full message name from list_messages/send_message, e.g. "spaces/AAA/messages/BBB.CCC". |