Slack Bot API删除帖子权限

时间:2017-11-29 03:19:26

标签: slack slack-api

如何在用户安装我的机器人时删除Post To Permission?

这是我想要的帖子: enter image description here

这是我的松弛按钮href

<a href="https://slack.com/oauth/authorize?&client_id={{$client_id}}&scope=incoming-webhook,bot,commands,channels:read,users:read,users:read.email,channels:write,chat:write:bot,users.profile:read"><span>Add to Slack</span></a>

这也是我的许可范围:

enter image description here

enter image description here

为了在每次团队安装我的机器人时删除“Post To”,我是否需要移除那里?

非常感谢您的帮助!

2 个答案:

答案 0 :(得分:0)

这是 incoming-webhook 范围,它要求您提供发布消息的默认频道。

答案 1 :(得分:0)

您可能无法删除{incoming-webhooks}。您需要在应用程序“传入Web钩子”下关闭“传入Webhook”。

相关问题