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

# Message

### Send Message

```java
public String sendMessage(String roomID, String message)
```

Parameters：

| Name    | Type   | Description     | Required |
| ------- | ------ | --------------- | -------- |
| roomId  | string | room id         | true     |
| message | string | message to send | true     |

Returns:

| Name    | Type   | Description | Required |
| ------- | ------ | ----------- | -------- |
| eventId | string | event id    | true     |
