0
votes

We have tried to send notifications to Microsoft teams. We have created a bot using this we can send but users want to initiate the conversation.

Also tried graph API shows 401 error.

We want to send notifications to Bot or API without the user initiating the conversation. i.e. sending notification direct to user chat.

Please help?

1
You can send message to user when he install the app using proactive messaging. Could you please check this docs? - Nikitha-MSFT
In this case, we want to create a conversation. User wants to send a message first. We want to send a notification to Bot without the user initiating the conversation. i.e. sending notification direct to user chat. - Arun.K Ashok

1 Answers

0
votes

You can send message to user with out user interaction using graph API. Proactive messages are initiated by bots to start conversations with a user. They serve many purposes including sending welcome messages, conducting surveys or polls, and broadcasting organization-wide notifications. Proactive messages in Teams can be delivered as either ad-hoc or dialog-based conversations. Please check Proactive installation of apps using Graph API and send messages