All tasks
postMessage
Post a message to a channel. Official Slack Docs
example.ts
Using the underlying client
If we don’t have the task you need listed above, you can useio.slack.runTask()
function, which lets you do anything that’s possible with the official Slack Node SDK. More information here.
Example usage:
How to post rich messages to Slack
Use their Block kit builder, and then use theblocks
property to send the message.
linearIssuesDailySlackAlert.ts