# Edit Message Modal Screen & Edit Channel Modal Screen

The Edit Message Modal Screen allows the Logged In User to update or delete messages that have been sent in a given channel, while the Edit Channel Modal Screen allows the Logged In User to update or delete the Channel name within the application.

Each of these screens follows a similar pattern where there is information that is available to be edited and subsequent actions to update or delete the data depending on the button a user clicks.

### **Data**

Since the data is coming from a particular list item — known as “Current Collection Item” — the text that will initially appear is the “Current” data that appears in the database for that particular item. A user is then able to update that text and the changes will be reflected once a button is clicked with the appropriate actions.

⚡ **Actions**

1. UPDATE: The purple UPDATE buttons on both screens contain an Update Action for the Current Item within the database.
2. DELETE: The gray DELETE text on both screens contain a Delete Action for the Current Item within the database.
3. CANCEL: The white CANCEL buttons on both screens contain an Update Action, to reflect the text in each input and a Link Action “Back” to the previous screen.


---

# 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://help.adalo.com/feature-templates/group-messaging/edit-message-modal-screen-and-edit-channel-modal-screen.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.
