Action.OpenUrl

When Action.OpenUrl is invoked it will show the given url, either by launching it to an external web browser or showing in-situ with embedded web browser.

Property Type Required Description
title string No Label for button or link that represents this action
type "Action.OpenUrl" Yes Must be Action.OpenUrl
url string Yes The URL to open

Example

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
        {
            "type": "TextBlock",
            "text": "This card's action will open a URL"
        }
    ],
    "actions": [
        {
            "type": "Action.OpenUrl",
            "title": "Action.OpenUrl",
            "url": "http://adaptivecards.io"
        }
    ]
}
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "text": "This card's action will open a URL" } ], "actions": [ { "type": "Action.OpenUrl", "title": "Action.OpenUrl", "url": "http://adaptivecards.io" } ] }
Try it Yourself ยป

Properties

title

Label for button or link that represents this action

  • Type: string
  • Required: No

type

Must be Action.OpenUrl

  • Type: "Action.OpenUrl"
  • Required: Yes
  • Allowed values:
    • Action.OpenUrl

url

The URL to open

  • Type: string
  • Required: Yes