简体   繁体   English

手动邀请机器人加入 Microsoft Teams 通话

[英]Manually invite a Bot to a Microsoft Teams call

I'm trying to build a bot that could join a Teams call, and then record its content.我正在尝试构建一个可以加入 Teams 通话的机器人,然后记录其内容。 The problem i'm having is that i yet have not come to any solution to be able to add the bot to the call via the Teams UI.我遇到的问题是,我还没有找到任何能够通过 Teams UI 将机器人添加到呼叫的解决方案。

Is there a way to do this?有没有办法做到这一点? Its mentioned on Microsoft's documentation but there's nothing else about it.它在 Microsoft 的文档中提到,但没有其他内容。 There's also an open Issue on Github but there hasn't been any updates in the past year. Github还有一个未解决的问题,但过去一年没有任何更新。

Thanks谢谢

Regarding adding the bot to the meeting:关于将机器人添加到会议:

There's some sample code here.这里有一些示例代码。 https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/V1.0Samples/LocalMediaSamples/AudioVideoPlaybackBot/FrontEnd/Bot/Bot.cs https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/V1.0Samples/LocalMediaSamples/AudioVideoPlaybackBot/FrontEnd/Bot/Bot.cs

Specifically look at JoinCallAsync(), which will enable the bot to join the meeting, taking the input as meeting link.具体看一下 JoinCallAsync(),它将使机器人加入会议,将输入作为会议链接。

I'm not sure if there is a way to invite a bot to the call, but the bot could defenitely join the meeting, given the teams meeting link.我不确定是否有办法邀请机器人参加电话会议,但鉴于团队会议链接,机器人可以毫无疑问地加入会议。

(Of course, this would be under the assumption that the bot has sufficient graph permissions as listed here: https://docs.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/registering-calling-bot ) (当然,这是假设机器人具有足够的图形权限,如下所示: https://docs.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/registering-calling -机器人

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM