无法向 Slack 机器人发送直接消息,功能已关闭
Can't send direct message to Slack bot, feature turned off
我创建了一个 Slack 机器人(应用程序),但我无法向它发送直接消息,即使我很确定我已启用所有权限。
直接消息 window 在输入字段中显示 向此应用发送消息已关闭。。
我是否缺少某些权限?
转到您的“应用程序设置”页面,然后转到“应用程序主页”并选中“允许用户从消息选项卡发送 Slash 命令和消息”复选框
https://github.com/MicrosoftDocs/bot-docs/issues/2077#issuecomment-843960695
在底部您会看到选项
添加以下范围对我有用:
1. mpim:write -> Start group direct messages with people
2. im:write -> Start direct messages with people
我创建了一个 Slack 机器人(应用程序),但我无法向它发送直接消息,即使我很确定我已启用所有权限。
直接消息 window 在输入字段中显示 向此应用发送消息已关闭。。
我是否缺少某些权限?
转到您的“应用程序设置”页面,然后转到“应用程序主页”并选中“允许用户从消息选项卡发送 Slash 命令和消息”复选框
https://github.com/MicrosoftDocs/bot-docs/issues/2077#issuecomment-843960695
在底部您会看到选项
添加以下范围对我有用:
1. mpim:write -> Start group direct messages with people
2. im:write -> Start direct messages with people