Mat*_*ard 5 javascript slack-api slack
使用 Slacks Bolt 框架执行以下操作时:
app.client.conversations.history({
token: token,
channel: channelId,
latest: messageId,
count: 1
})
Run Code Online (Sandbox Code Playgroud)
我越来越Error: An API error occurred: missing_scope
。
我正在传递一个 Bot 令牌(文档表明支持https://api.slack.com/methods/conversations.history),并且已经将channels.history
和channels.read
范围添加到我的 oAuth 和权限范围中,所以我有点糟糕。
以前有人遇到过这个吗?