From Teams side,presence states in Teams are divided into user configured and app configured. App-configured presence states are based on user activity (Available, Away), Outlook calendar states (In a meeting), or Teams app states (In a call, Presenting). It cannot be controlled by Shifts.
From Teams API side, I did not find related methods in official document now.
As we are mainly responsible for general issue of Microsoft Teams, your requirement related to development is not in our scope. I would change office-teams-windows-itpro tag to office-teams-app-dev tag to provide more technical support. Thanks for your understanding.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.