Skip to content

Conversation

newlogics
Copy link

This Change will add a new field to the Bot Message Sampler. This allows JSON Vey value pairs to be sent as Activity Value to handle Adaptive Cards submit.

Fix for issue #7

image

Currently, there is no way to send a reply to the below sample Adaptive card which might become a blocker but with this change Activity values can be directly sent through the sampler.
image

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.2",
    "body": [
        {
            "type": "TextBlock",
            "text": "Name:",
            "wrap": true
        },
        {
            "type": "Input.Text",
            "placeholder": "Placeholder text",
            "id": "Name"
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit"
        }
    ]
}

image

Thanks,
Palanikumar

@newlogics
Copy link
Author

@damadei Could you please review and Approve the Pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant