How can I send response to an adaptive card in teams one on chat to select an option from adaptive card using graph API?

Suraj Dengale 45 Reputation points
2024-03-21T19:46:03.8666667+00:00

Hi team,

I'm making good progress in my work with a Teams chatbot. So far, I've successfully managed text message interactions using the Graph API. However, I've encountered an exciting challenge regarding adaptive card options, as shown in the attached image.

My aim is to seamlessly select an option from the adaptive card and also submit response using Graph API only for both. Could you kindly advise if there's any way I can achieve this with graph API only?

Currently, I'm using the following POST request:

https://graph.microsoft.com/v1.0/chats/{{chatbot-id}}/messages

User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,595 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,847 questions
{count} votes