Can I set a specific message in Teams like out off office using API

Brass Contributor

Teams has Schedule out off office feature to highlight the message as below,

 

Aiswarya_Lakshmy_1-1684477870613.png

 

I want to integrate the same feature in Microsoft Bot to highlight some specific message which needs to be there till some specific time. Is there any API available to keep the message highlighted till a specifc time

5 Replies

@Lakshmi_145 
Out of office is not the same as presence, and it's more of an Exchange feature.
You can set it via the mailboxSettings endpoint: 
https://learn.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-beta&tabs=ht...

Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

@Nivedipa-MSFT ,

 

Is there any Teams API available to highlight the specific message. We want to highlight a specific message like "System is down" in teams bot chat.

 

@Lakshmi_145 - Currently there is not any API available to highlight the specific message.
You can suggest this feature here: Microsoft Teams Community

Are there alternative methods available to consistently display a message to users within the Teams app?

@Sujith23 - Currently there is no way to consistently display a message to users within the Teams app.
You can suggest this feature here: Microsoft Teams Community