Search code examples
botframeworkmicrosoft-teams

How to mark proactive message a s IMPORTANT


I have a bot application that sends proactive messages in the channel as adaptive cards. Below is the piece of the code responsible for creating the proactive messages.

adapter.continueConversationAsync(
   botid, 
   {reference },
   async (turnContext) => {
      await turnContext.sendActivities([Adaptive card body]);
   }
)

Question: Is there a way how we can mark the message as IMPORTANT! like below:

enter image description here


Solution

  • For more visibility, adding the answer from the comment section:

    Currently we do not support sending important messages with bots.

    You can please share your feedback in Microsoft Teams Feedback Portal.

    Microsoft will always focus on customer’s feedback and experience. Some new features would be added to the services based on customers' feedback in the future, and your good ideas will be very helpful for them to improve the service.