drr*_*nik 5 curl slack-api slack
我在文档中没有看到它,但我很好奇是否有人知道在 slack 应用程序中以编程方式创建通道的方法。
这是我第一次尝试通过 slackbot 通过斜杠命令,但没有成功。
curl --data "/open test" https://xxxxxxx.slack.com/services/hooks/slackbot\?token\=xxxxxxxxx\&channel\=%23general
Run Code Online (Sandbox Code Playgroud)
您可以使用以下方法通过 API 创建通道channels.join
:https://api.slack.com/methods/channels.join。
This method is used to join a channel. If the channel does not exist, it is created.
Run Code Online (Sandbox Code Playgroud)
希望有帮助!
归档时间: |
|
查看次数: |
8917 次 |
最近记录: |