> 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/bot-sdks/golang-bot-sdk/message.md).

# Message

## Send Message

```go
func (cli *Client) SendText(roomID, text string) (*RespSendEvent, error)
```

Parameters:

| Name     | Type   | Description        | Required |
| -------- | ------ | ------------------ | -------- |
| `roomID` | string | room id            | true     |
| `text`   | string | message to be sent | true     |

Returns:

| Name                    | Type   | Description | Required |
| ----------------------- | ------ | ----------- | -------- |
| `RespSendEvent.EventID` | string | event id    | true     |
