Jul 22 2022 11:44 AM - edited Jul 22 2022 11:49 AM
Hi. I have an application with a few websites like tabs. The app is installed to a predefined set of users within a company automatically.
I have a need to send an individualized adaptive card with an action button inside to the user. When they click on the button, I want to call an api and redirect them to a specific tab within my app.
1) do I create a conversation tab and somehow send it there?
2) do I send the card to some channel? Is the app installed in a channel somehow?
3) do I send an activity notification?
I'm not familiar enough with how the app is installed but could you help with some pointers?
I've seen proactive messaging via a bot but not sure where the message is going to end up, a channel, an activity? Do I need proactive messages even though the app is installed on their behalf?
Jul 24 2022 10:56 PM
Jul 26 2022 03:40 AM
@soulglow - You can use the activity feed notification APIs in Microsoft Graph to extend this functionality to your apps. This allows your apps to provide richer experiences and better engage users by helping to keep them up to date with changes in the tools and workflows they use.
Reference Document-Send activity feed notifications to users in Microsoft Teams - Microsoft Graph | Microsoft Docs|
Sample Link-Microsoft-Teams-Samples/samples/graph-activity-feed-broadcast/csharp at main · OfficeDev/Microsoft-T...
Jul 27 2022 06:46 AM
Jul 28 2022 09:04 PM
@Sayali-MSFT could you elaborate on why you think activity feed is better than proactive messages using a bot? Activity feed only allows text and no adaptive cards.
Aug 04 2022 01:53 AM - edited Aug 04 2022 01:54 AM
@soulglow -If you want to send adaptive card to notify user you can use the proactive messages and card. After you've published your bot and made the bot available to end users in Microsoft Teams, you can notify users ("recipients") in Microsoft Teams with proactive messages and adaptive cards.
Reference Document-Notify bot users in Power Virtual Agents for Teams with proactive messages and cards - Power Virtual...