[英]Service URL for Notification-Only Teams Bot
I am working on a notification only teams bot limited to members of a single azure ad tenant.我正在开发仅限于单个 Azure 广告租户成员的仅通知团队机器人。 Based on this documentation - https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context - the serviceUrl could change.根据此文档 - https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context - serviceUrl 可能会更改。
Since the bot would hardly ever receive a request, how do I manage the serviceUrl?由于机器人几乎不会收到请求,我该如何管理 serviceUrl? What could cause the serviceUrl to change?什么可能导致 serviceUrl 改变?
Service URL are unique to region, not tenant.服务 URL 是区域唯一的,而不是租户。
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.您可以稍后使用它来发送消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.