Microsoft Bot 服务 - 如何在一次通话中主动向多人发送消息 - JavaScript
我正在尝试向组织内的许多用户发送相同的主动消息。我们正在使用使用 JavaScript 构建的 Microsoft Teams 机器人。
我们目前正在循环访问用户,获取他们的对话参考,然后一次主动向每个用户发送消息 1。
我们正在向这些用户发送相同的主动消息,因此我正在寻找一种方法,通过 1 个呼叫将此消息发送给用户列表
我们目前正在使用“ContinueConversation”功能主动向用户发送消息
I'm trying to send the same proactive message to many users within my organization. We are working with a Microsoft Teams bot, built with JavaScript.
We're currently looping through the users, grabbing their conversation reference, then proactively messaging each user 1 at a time.
We are sending the same proactive message to these users, so I'm looking for a way to send this message to a list of users with 1 call
We're currently using the 'continueConversation' function to proactively message users
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,为之前向您的机器人发送过消息的每个人获取对话参考,并在向每个人发送消息时进行循环,是目前接受的向所有用户实施主动消息传递的方法。
作为参考,有关主动通知的文档 和 javascript 主动机器人示例。
To my knowledge, getting a conversation reference for everyone who has previously messaged your bot and looping through while sending a message to each is the currently accepted method of implementing proactive messaging to all users.
For reference, the docs on proactive notifications and the javascript proactive bot sample.