# Send to a channel

> Post a message in a channel or one of its threads, optionally as a reply.

Source: https://docs.buildcord.dev/nodes/messages/send-to-channel/

`message.send` posts a message in a channel you choose, rather than replying to the person.

## Settings

| Setting | What it does |
| --- | --- |
| Channel | Where to post. |
| In a thread of it | A thread to post in instead, such as `{thread.id}` from [Create a thread](https://docs.buildcord.dev/nodes/server/create-thread). |
| As a reply to | A message in the same channel to reply to. See [Naming a message](https://docs.buildcord.dev/nodes/messages#naming-a-message). |
| Message | The text to send. |
| Embed | One of your embeds. |
| Buttons and menus | One of your component sets. |
| Attach files | Addresses of files, one per line. See [Files](https://docs.buildcord.dev/nodes/messages#files). |
| Mentions that notify | Who gets a ping. See [Mentions](https://docs.buildcord.dev/nodes/messages#mentions). |
| Ping who's replied to | Whether replying notifies the author of the message replied to. On by default. |

## Ways out

`out`.

## Produces

| Token | Value |
| --- | --- |
| `{sent.id}` | The ID of the message just sent |
| `{sent.channel}` | The ID of the channel it was sent in |
| `{sent.link}` | A link to it |

Keep `{sent.link}` if you want to [edit that message](https://docs.buildcord.dev/nodes/messages/edit-message) later.

## Notes

- The bot needs permission to send messages in that channel.
- It's the right node for event and schedule flows, which have nobody to reply to.

## Example

On **Member joins**, post `Welcome, {user.mention}!` in a welcome channel.

## Related

- [Direct message](https://docs.buildcord.dev/nodes/messages/direct-message)
- [Send as someone else](https://docs.buildcord.dev/nodes/messages/send-as-someone-else)
- [Publish a message](https://docs.buildcord.dev/nodes/messages/publish-message)
