Forum Discussion
vovanb
Jul 10, 2023Copper Contributor
send notification for user
I am using SendActivityNotification as below: var requestBody = new Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.SendActivityNotificationPostRequestBody
...
Sayali-MSFT
Microsoft
vovanb -No, currently it is not possible. This is a kind of feature request, so could you please raise the feature request on Microsoft Teams · Community
vovanb
Sep 02, 2023Copper Contributor
I am completely lost here. What is purpose of SendActivityNotification API? To whom I can send notification? When it should work? Nothing from your code example did not work for me?
Why this API created?
- Sayali-MSFTSep 06, 2023Microsoftvovanb - The purpose of the SendActivityNotification API is to send activity feed notifications in Microsoft Teams. This API allows you to send proactive messages to users, notifying them about updates or events related to your app.
You can send notifications to individual users or to a group of users. The recipients can be targeted based on their user ID, user principal name, or email address. You can also send notifications to a specific team or channel by specifying the team ID and channel ID.
The SendActivityNotification API should be used when you want to send notifications to users in real-time or based on specific events. It is commonly used to provide updates, alerts, or important information to users within the Teams app.
To use the SendActivityNotification API, you need to have the necessary permissions and authentication.