# AmityMessageComposer

## AmityMessageComposer

This widget provides functionality for composing and sending messages within chat conversations. It supports text messages, media attachments, replies, and message editing capabilities.

***

### Features

| Feature           | Description                                         |
| ----------------- | --------------------------------------------------- |
| Input Controls    | Expandable text field with send button              |
| Media Integration | Camera access and gallery selection                 |
| Context Actions   | Reply and edit functionality with visual indicators |

### Usages

The AmityMessageComposer is typically used within the AmityChatPage, but can also be used independently as follows:

{% embed url="<https://gist.github.com/amythee/1debdc954d6b73f6e1011635bf15fa94>" %}


---

# 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://docs.social.plus/social-plus-uikit/uikit-4/chat/conversation-chat/amitymessagecomposer.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.
