Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Caching service URL for bot framework
Hi everyone,
I'm currently build a teams app , with bot capabilities. As you would already know , to setup pro-active messaging one needs to cache the service URL needed by bot framework. I read about how to cache it , and came to know that there are 2 main things to consider:
- The channel / end-user app that is being used (In this case MS Teams).
- The region the tenant organisation belongs to.
Since the bot is specific to MS Teams only , the base part of the Service URL is going to remain constant which is https://smba.trafficmanager.net/ . The region part of the URL would change depending on the tenant organisation.
My question being , are my assumptions right ? That the service URL should be cached on the tenant level and not on individual user's level. Even if the tenant organisation is present worldwide they're going to have the same service URL right ?
Thanks in advance for answering the question.