Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
MS Teams Presence Sync Transitions
I want to follow up with a couple of questions in context to this discussion
https://learn.microsoft.com/en-gb/answers/questions/5933754/ms-teams-presence-sync-transitions
When using setUserPreferredPresence, we have an expiration time. But since user status changes have the highest preference, in a case where no status changes are made after the setUserPreferredPresence call, will the status (for example DND) continue after the expiration or does it reset?
Secondly, I want to know about the situations when we try to change the status using setPresence. In a scenario where we change the status of MS Teams from available to busy, MS teams pushes this event to the subscriptions. In this specific case, is there a way to identify if a particular client has generated this event? In this case, we may not want to conusme this event, but we are interested in consuming change of statuses that happen through any other route apart from our application itself.