You can get to know about User Availability using Graph API.
You can follow this sample as well to send proactive notification about user presence.
Configuring Bot for Single Sign-on:
Add authentication to a bot
Single sign-on support for bots
Thanks,
Prasad Das
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.