Botkit 4 + Slack适配器-如何私下启动对话框?

时间:2019-10-08 08:25:31

标签: slack slack-api botkit

我发现了这个:

 // switch to a 1:1 conversation in a DM
 await bot.startPrivateConversation(message.user);

 // say hello
 await bot.say('We are in private now...');
 await bot.beginDialog(MY_PRIVATE_DIALOG);

但是与bot.replyPrivate不同,这会发送带有新对话框的PM。

我该如何私下回复?

0 个答案:

没有答案