Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Value Field to the Bot Message Sampler Used for handling Adaptive Cards submit #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant