仅通知团队机器人的服务URL [英] Service URL for Notification-Only Teams Bot

查看:84
本文介绍了仅通知团队机器人的服务URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究仅限于单个Azure广告租户成员的仅通知机器人小组.基于此文档- https://docs .microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context -serviceUrl可能会更改.

I am working on a notification only teams bot limited to members of a single azure ad tenant. Based on this documentation - https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context - the serviceUrl could change.

由于漫游器几乎不会收到请求,因此我该如何管理serviceUrl?是什么原因导致serviceUrl发生变化?

Since the bot would hardly ever receive a request, how do I manage the serviceUrl? What could cause the serviceUrl to change?

推荐答案

服务URL对于区域(而不是租户)是唯一的.

Service URL are unique to region, not tenant.

You can cache the team and user details when bot is added to a team in conversation update bot event. You could use it later to send messages.

这篇关于仅通知团队机器人的服务URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆