> For the complete documentation index, see [llms.txt](https://rakuraku.gitbook.io/rakuraku-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rakuraku.gitbook.io/rakuraku-docs/api-docs/message.md).

# Message

## Send Message

### WebSocket Endpoint

```ws
/ws/{roomId}
```

### Message Payload

```json
{
  "appId": "string",
  "usersId": "string",
  "content": "string",
  "roomId": "string",
  "cloudFrontImageURL": "string",
  "type": "CHAT"
}
```

\ <br>

## Receive Message

### Response Payload

```json
{
  "roomId": "string",
  "userId": "string",
  "content": "string",
  "time": "string",
  "cloudFrontImageURL": "string",
  "type": "CHAT"
}
```
