[英]Is there a way to detect whether a user is typing from teams mobile app or desktop app?
I am developing a bot which can send files to user.我正在开发一个可以向用户发送文件的机器人。 Users ask for reports with report name, and bot generates the file and sends it.
用户要求提供报告名称的报告,bot 生成文件并发送。 This is working like expected within Microsoft Teams desktop app and web app.
这在 Microsoft Teams 桌面应用程序和 Web 应用程序中按预期工作。 And Microsoft Teams mobile app does not support to receive files.
并且 Microsoft Teams 移动应用程序不支持接收文件。
If there is a way to detect the application that user is typing to bot, i want to inform users when they ask a file from bot with mobile app, like "use desktop or web app, file transfer is not supported on mobile app".如果有一种方法可以检测用户正在向 bot 输入的应用程序,我想在用户通过移动应用程序从 bot 请求文件时通知用户,例如“使用桌面或网络应用程序,移动应用程序不支持文件传输”。
Is there a way to detect the application that Microsft Teams user is using to type to bot?有没有办法检测 Microsft Teams 用户用来输入机器人的应用程序?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.