[英]Accessing bot in azure in android
I have deployed a bot in azure.我已经在 azure 中部署了一个机器人。 Bot is written in C# using microsoft bot framework.
Bot 是使用 Microsoft bot 框架用 C# 编写的。 I am able to communicate with it using Microsoft Bot Framework Emulator after providing the azure URL, App Id and App Secret.
提供 azure URL、App Id 和 App Secret 后,我可以使用 Microsoft Bot Framework Emulator 与它通信。 How to communicate with the bot from android?
如何从android与机器人通信? Is there a URL to communicate with it like a REST Api?
是否有一个 URL 可以像 REST Api 一样与之通信?
If you use a bot registered to BotFramework, you can try to configure the Web Chat channel :如果您使用注册到 BotFramework 的机器人,您可以尝试配置网络聊天频道:
Then, take out the link from the iframe, (you'll get something like this : https://webchat.botframework.com/embed/YourBotID?s=YOUR_SECRET_HERE ) Replace YOUR_SECRET_HERE with the secret you previously took然后,从 iframe 中取出链接,(您将得到如下内容: https ://webchat.botframework.com/embed/YourBotID?s = YOUR_SECRET_HERE)用您之前获取的秘密替换 YOUR_SECRET_HERE
Then, browse the final link from your phone / anywhere.然后,从您的手机/任何地方浏览最终链接。
@SandeepMenon, There is a blog which introduces how to integate Azure Logic Apps with a Bot Web App using Bot Framework API hosted on Azure and supply the sample project on GitHub. @SandeepMenon,有一篇博客介绍了如何使用托管在 Azure 上的 Bot Framework API 将 Azure 逻辑应用程序与 Bot Web 应用程序集成,并在 GitHub 上提供示例项目。
I think you can try to refer to the blog and use the Azure Logic App as callable endpoint , then to communicate with bot from android is only implementation for calling the http endpoints from android.我认为您可以尝试参考博客并使用 Azure Logic App 作为可调用端点,然后从 android 与 bot 通信只是从 android 调用 http 端点的实现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.