简体   繁体   English

如何从 ms teams chat BotBuilder 的 onConversationUpdate 上下文中获取语言环境

[英]how to get locale from context onConversationUpdate on ms teams chat BotBuilder

onConversationUpdate is not returning locale as of now... is it possible to get locale when welcome message trigger from bot section?截至目前, onConversationUpdate未返回语言环境...是否可以在机器人部分触发欢迎消息时获取语言环境?

活动对象没有语言环境信息

No, this is not possible.不,这是不可能的。 You will get locale information only when user initiate/invoke some action.只有当用户启动/调用某些操作时,您才会获得语言环境信息。 Like sending message or interacting with the bot.比如发送消息或与机器人交互。

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

相关问题 如何使用Skype for Business从botbuilder获取用户电子邮件? - How to get user email from botbuilder with Skype for Business? Microsoft Teams botbuilder 如何在另一个频道中创建对话 - Microsoft Teams botbuilder How to create conversation in another channel 如何从bot框架的botbuilder(JavaScript)获取当前对话框堆栈? - How to get the current dialog stack from the bot framework's botbuilder (JavaScript)? 外部URL在群聊MS Teams打不开/打不开 - External URL is not opening/unable to open in MS Teams in group chat 如何从 MS Teams 聊天机器人部分打开动态自定义选项卡 - How to open Dynamic custom tab from MS Teams chatbot section MS Teams bot - 如何从 nodejs 代码下载在团队中上传的文件 - MS Teams bot - how to download file that was uploaded in teams from nodejs code 如何在Microsoft团队中添加Microsoft BotBuilder框架Node.js版本4 Bot? - How to add the microsoft botbuilder framework node.js version 4 bot in microsoft teams? MS Teams 机器人上下文或功能中是否有租户名称的概念? - Is there a notion of a tenant name within an MS Teams bot context or function? [Teams][botbuilder] Adaptive Cards TextBlock 中的空行 - [Teams][botbuilder] Empty lines in Adaptive Cards TextBlock Botbuilder如何在命名空间未定义的情况下使用默认语言环境字符串 - Botbuilder how to use default locale strings in case namespace hasn't defined it
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM