Skip to content

Instantly share code, notes, and snippets.

@kenjosling
Created June 27, 2018 15:40
Show Gist options
  • Save kenjosling/c972f66054b418bcba0e1cbd5bebd11b to your computer and use it in GitHub Desktop.
Save kenjosling/c972f66054b418bcba0e1cbd5bebd11b to your computer and use it in GitHub Desktop.
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "%BotName%",
"weight": "bolder",
"size": "medium"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "Image",
"url": "%IconUrl",
"size": "small",
"style": "person"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "%CompanyName%",
"weight": "bolder",
"wrap": true
},
{
"type": "TextBlock",
"spacing": "none",
"text": "Version %BotVersion%",
"isSubtle": true,
"wrap": true
}
]
}
]
}
]
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "We hope you enjoy playing with this prototype. Now, please be a sport and let us know what you think",
"wrap": true
},
{
"type": "Input.Text",
"id": "comments",
"placeholder": "Here's my feedback...",
"isMultiline": "true",
"maxLength": "120"
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Share My Feedback",
"data": { "choice": "Submit.Feedback"}
},
{
"type": "Action.OpenUrl",
"title": "View User Guide",
"url": "%UserGuideUrl%"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment