Botframework 我的团队如何回应对此的评论;谁有自己的线索?
我不知道有一种使用botbuilder的方法,允许团队机器人在自己的线程上回复(未提及)评论 以下是机器人回复的要点(这是hello world示例,给出于:): 我希望团队bot回复它所涉及的线程上的评论(以最初提到的评论开始)。我不知道如何做到这一点(或者如果botbuilder团队可以做到的话)请查看文档。下面是主动消息到通道的示例 以下是启动回复链的代码片段:Botframework 我的团队如何回应对此的评论;谁有自己的线索?,botframework,microsoft-teams,Botframework,Microsoft Teams,我不知道有一种使用botbuilder的方法,允许团队机器人在自己的线程上回复(未提及)评论 以下是机器人回复的要点(这是hello world示例,给出于:): 我希望团队bot回复它所涉及的线程上的评论(以最初提到的评论开始)。我不知道如何做到这一点(或者如果botbuilder团队可以做到的话)请查看文档。下面是主动消息到通道的示例 以下是启动回复链的代码片段: var message = new teams.TeamsMessage(session).text("This is
var message = new teams.TeamsMessage(session).text("This is start message.");
connector.startReplyChain(serviceUrl, channelId, message, function (err, address) {
if (err) {
console.log(err);
session.endDialog('There is some error');
}
else {
console.log(address);
var msg = new teams.TeamsMessage(session)
.text('This is reply to your message.')
.address(address);
session.send(msg);
session.endDialog();
}
});
你知道如何使用botbuilder实现这一点吗?
var message = new teams.TeamsMessage(session).text("This is start message.");
connector.startReplyChain(serviceUrl, channelId, message, function (err, address) {
if (err) {
console.log(err);
session.endDialog('There is some error');
}
else {
console.log(address);
var msg = new teams.TeamsMessage(session)
.text('This is reply to your message.')
.address(address);
session.send(msg);
session.endDialog();
}
});