# Delete message

<figure><img src="https://i.pinimg.com/originals/ff/fa/9b/fffa9b880767231e0d965f4fc8651dc2.gif" alt=""><figcaption></figcaption></figure>

> Incase, you stop using Cross Chat and want to do complete message deletion from all servers within network you were using, feel free to contact us at our [support server](https://discord.gg/X7bZffdsQt).

## Command

* `/delete last` : This command when used will delete your last message sent, if found in last 50 messages of channel. Deletion won't happen if:
  * Message was not found in last 50 messages
  * You changed your username
* `/delete all` : Delete all messages possible sent by you


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://crosschat.itzleo.com/systems/delete-message.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
