简体   繁体   English

尝试以编程方式创建团队呼叫

[英]Trying to create a Teams Call Programmatically

I am attempting to create a Microsoft Teams call programmatically, there are a few pre-requisites including registering your bot as outlined in the documentation here .我正在尝试以编程方式创建 Microsoft Teams 调用,有一些先决条件,包括按照此处的文档中所述注册您的机器人。 And my understanding of how to do this, is, by creating a Bot (which I have done) and then the bot is your middle man as sorts to the Microsoft Graph API.我对如何做到这一点的理解是,通过创建一个机器人(我已经完成),然后机器人是你的中间人,就像 Microsoft Graph API 一样。

I'm not sure if registering the bot on teams is necessary as I don't want the bot to participate in calls I need it purely for initiating 1:1 calls (myself to another user).我不确定是否有必要在团队中注册机器人,因为我不希望机器人参与呼叫我需要它纯粹是为了发起 1:1 呼叫(我自己与另一个用户)。 The documentation here shows that the API for doing this is in beta. 此处的文档显示用于执行此操作的 API 处于测试阶段。

After a bit of searching, I ended up following this guide which allowed me to set up a bot emulator in which I thought I could use to test API calls to but it seems this is purely for a chatbot as经过一番搜索,我最终遵循了本指南该指南允许我设置一个机器人模拟器,我认为我可以在其中测试 API 调用,但似乎这纯粹是针对聊天机器人的在这里看到 . .

I also found this thread which others are asking for the API to include basic things like我还发现了这个线程,其他人要求 API 包含基本的东西,比如

  • Make a call打个电话
  • Answer a call接听电话
  • Redirect a call重定向呼叫

etc..等等..

I'm a little lost at the moment and the documentation from Microsoft isn't the best.我现在有点迷茫,微软的文档不是最好的。 Once my bot is setup its unclear what needs to be done after that, does anybody have any experience in this area or has recreated this scenario that I'm trying to achieve?一旦我的机器人设置完毕,它就不清楚之后需要做什么,有没有人在这方面有任何经验或重新创建了我试图实现的这种场景? Any help at all would be massively appreciated!任何帮助都将不胜感激!

To start using the Cloud Communications APIs, please view the overview and the getting started documentation.要开始使用云通信 API,请查看概述入门文档。 You can register a calling bot here您可以在此处注册呼叫机器人

I hope this helps you get started.我希望这可以帮助您入门。 The calling API that you linked to has a v1.0 version as well - you can change the version on the top left-hand side您链接到的调用 API 也有 v1.0 版本 - 您可以更改左上角的版本

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

相关问题 尝试创建一个使用 IQueryable 的通用存储库 MongoDB - Trying to create a generic repository that uses IQueryable for MongoDB WCF .NET Core - 以编程方式创建与 MTOM 和 ClientCertificate 的绑定 - WCF .NET Core - create programmatically binding with MTOM and ClientCertificate 尝试创建 confluence.kafka 库 - Trying to create confluence.kafka library Bot在Microsoft Teams中的行为不同 - Bot acts differently in Microsoft Teams .NET Core 更新迁移正在尝试再次重新创建表 - .NET Core Update migration is trying to re-create table again 尝试在 .NET CORE Web 应用程序中创建控制器时出错 - Error when trying to create a Controller in .NET CORE Web Application 如何以编程方式创建有效的自签名X509Certificate2,而不是从.NET Core中的文件加载 - How to create a valid, self-signed X509Certificate2 programmatically, not loading from file in .NET Core 从 Controller 向 Microsoft Teams 发送消息 - Send message from Controller to Microsoft Teams 尝试调用 CreateBatchWrite 时出现错误,“AsyncLocal 中不存在实体”<t> DynamoDBContext object 的方法</t> - Getting error, “Entity doesn't exist in AsyncLocal” when trying to call CreateBatchWrite<T> method of DynamoDBContext object 通过.net Core在cosmos mongodb中创建和调用存储过程 - Create and Call Stored Procedures in cosmos mongodb through .net Core
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM