Node.js Slack web api reactions.add can';找不到频道

Node.js Slack web api reactions.add can';找不到频道,node.js,slack,Node.js,Slack,我正在使用@slack/webapinpm包,为我们的团队创建一个简单的部署通知slack bot。但突然间,我无法听到一条信息: const main_msg_ts = "16XXXXXX1.002700"; // This works perfectly. const result = await web.chat.postMessage({ text: msg, channel: "deploy-notifications-tes

我正在使用
@slack/webapi
npm包,为我们的团队创建一个简单的部署通知slack bot。但突然间,我无法听到一条信息:

  const main_msg_ts = "16XXXXXX1.002700";

  // This works perfectly.
  const result = await web.chat.postMessage({
    text: msg,
    channel: "deploy-notifications-test",
    thread_ts: main_msg_ts
  });

  // But this raises an exceptpion "An API error occurred: channel_not_found".
  await web.reactions.add({
    name: "checkered_flag",
    channel: "deploy-notifications-test",
    timestamp: main_msg_ts
  });
我已为我的bot设置了所需的作用域:

为频道输入
频道id

    await web.reactions.add({
    name: "checkered_flag",
    channel: "<channel_id>",
    timestamp: main_msg_ts
  });
wait web.reactions.add({
名称:“方格旗”,
频道:“,
时间戳:主消息
});

什么是频道id?它与我使用的有什么不同?频道:“部署通知测试”?比较和的文档-应该是相同的。看起来web.reactions.add不使用频道名称作为频道的值,而web.chat.post可以使用名称或频道ID。这似乎不一致。啊哈反应api可能不支持私人组/哦,谢谢你!