Service URL for Notification-Only Teams Bot

最后都变了- 提交于 2020-07-22 05:19:38

问题


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.

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


回答1:


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.



来源:https://stackoverflow.com/questions/60764564/service-url-for-notification-only-teams-bot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!