Slack API channels.archive没有find频道

我可以成功地创造一个新的渠道。 当我想将我的频道移动到存档时,我得到一个错误代码为channel_not_found的响应,而我100%确定我的频道名称是正确的。

有谁知道我为什么收到这个? 我在Node.js中使用slack-node

slackController.slack.api('channels.archive', { channel: "#test123" }, function (err, response) { console.log(response); return callback("ok"); }); 

在这里输入图像说明

更新:我发现你不应该使用频道名称,而是频道ID。 API文档不清楚。