docs: fix channel mention formatting (#447)

This commit is contained in:
Michael Brooks
2025-05-26 12:13:57 -07:00
committed by GitHub
parent f234e852e1
commit a16c1c3109
@@ -35,7 +35,7 @@ Posting a message with the [`chat.postMessage`](https://docs.slack.dev/reference
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: ${{ secrets.SLACK_CHANNEL_ID }}
text: "howdy <@channel>!"
text: "howdy <!channel>!"
```
### Posting a message with blocks
@@ -142,4 +142,4 @@ Calling [a Slack API method](https://docs.slack.dev/reference/methods) with [`@s
## Example workflows
* [**Direct message the author**](/slack-github-action/sending-techniques/sending-data-slack-api-method/direct-message-author): Write to the Slack user with a matching email.
* [**Invite a usergroup to channel**](/slack-github-action/sending-techniques/sending-data-slack-api-method/invite-usergroup-to-channel): Create a channel and invite members.
* [**Invite a usergroup to channel**](/slack-github-action/sending-techniques/sending-data-slack-api-method/invite-usergroup-to-channel): Create a channel and invite members.