> 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/node.js-sdk/message.md).

# Message

## Send Message

```typescript
public sendText(roomId: string, text: string): Promise<string>
```

Input params:

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

Output params:

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