How to send message from bot to Slack in Swift
Issue #560 Create a bot https://slack.com/intl/en-no/help/articles/115005265703-create-a-bot-for-your-workspace https://api.slack.com/bot-users#setup-events-api https://api.slack.com/bot-users#installing-bot Post message After adding bot to workspace, we’ll get OAuth Access Token and Bot User OAuth Access Token. Use Bot User OAuth Access Token to test drive bot message sending https://api.slack.com/methods/chat.postMessage/test The request url is like https://slack.com/api/chat.postMessage?token=xoxb-7212342835698-890815481123-abcdGgDEFfm2joQs1Vj5mABC&channel=random&text=hello&pretty=1 Code from Puma import Foundation public class Slack { public var name: String = "Send message to Slack" public var isEnabled = true private var message: Message?...