Using the Slack API, how can I direct message all users at the same time?

后端 未结 2 1937
臣服心动
臣服心动 2020-12-21 08:48

On Slack, I\'m aware that using chat.postMessage allows me to message each user individually, but how would I go about direct messaging the entire team (400 mem

2条回答
  •  执念已碎
    2020-12-21 09:40

    Hello For that you need a channel with all 400 of them in it, cause currently you cannot send to 400 individual users. For sending message to a channel, you just need to add channel argument for postMessage method.

    Check this :: https://api.slack.com/methods/chat.postMessage

提交回复
热议问题