简体   繁体   English

调试MSFT小组漫游器通道对话

[英]Debug msft teams bot channel conversation

I have a bot that collects information in a private chat from User A about User B and then sends it to User B. I am collecting the information via Dialog and then formatting a HeroCard to be sent. 我有一个机器人,它通过与用户A的私人聊天收集有关用户B的信息,然后将其发送给用户B。我正在通过Dialog收集信息,然后格式化要发送的HeroCard。 I was using the Bot Emulator to test the private chat code, but I'm unable to test creating a new conversation () in the emulator without getting a 500 InternalServerError. 我使用的是Bot仿真器来测试私人聊天代码,但是如果没有收到500 InternalServerError,就无法测试在仿真器中创建新的对话()。 When I deploy the code and integrate the bot into an existing Teams channel I receive 400 Bad Request responses. 当我部署代码并将漫游器集成到现有的Teams频道中时,我收到400个错误请求响应。

Is there a tool to use that can help me debug creating a new conversation locally? 有没有可以使用的工具,可以帮助我在本地调试创建新对话?

You need the user's (User-B) unique ID and tenant ID to start 1:1 proactive conversation . 您需要用户(User-B)的唯一ID和租户ID才能开始1:1主动对话 Typically, these are obtained from a team context, either by fetching the team roster or when a user interacts with your bot in a channel . 通常,这些是从团队上下文中获取的 ,方法是获取团队花名册或当用户在通道中与您的漫游器进行交互时

Please check the sample code . 请检查示例代码

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

相关问题 团队机器人在 Controller 中创建对话 - Teams Bot Create Conversation In Controller 如何在 Teams 频道中创建主动对话? - How to Create a proactive conversation in Teams channel? 获取MS Teams频道会话ID - Get MS Teams Channel Conversation ID 用于团队频道的 BOT 框架图像轮播 - BOT Framework Carousel of Images for Teams Channel 团队频道收到 Bot 介绍信息的垃圾邮件 - The teams channel getting spammed with Bot intro message Teams 频道中 Microsoft Bot Framework 中的后台作业 - Background jobs in Microsoft Bot Framework in Teams Channel 对话总是在 Directline BOT 频道 websocket 中重新开始,如何保持畅通? - Conversation always restarts in Directline BOT channel websocket, how to keep it flowing? Bot Framework bot无法在未提示的情况下在Microsoft Teams频道中发布 - Bot Framework bot can't post in Microsoft Teams channel without being prompted 使用自定义API机器人无法使用Bot框架在Microsoft Teams频道中发布操作卡 - Using Custom API bot can't post action card in Microsoft Teams channel using Bot framework 在 Microsoft Teams 中提及用户出现“BadRequest”异常,Bot 服务的 Ms 团队频道显示错误“提及实体与文本不匹配” - Mention user in Microsoft Teams get exception of 'BadRequest', Ms teams channel of Bot Service shows error 'Mention entity does not match text'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM