# sendInText

`function` in `seedcord` · v0.12.0

<https://docs.seedcord.org/packages/seedcord/0.12.0/functions/send-in-text>

Sends a message to a text channel by ID.

```ts
async sendInText(
    client: Client,
    channelId: TextChannelResolvable,
    message: AtleastOneMessageComponent
): Promise<Message>
```

Sends a message to a text channel by ID.

Parameters.

- `client` `Client` — The Discord client instance
- `channelId` `TextChannelResolvable` — Channel ID or TextChannel instance
- `message` `AtleastOneMessageComponent` — Message content to send

Returns `Promise<Message>`.
