# Adaptive Card sample: ActionSet

- id: `action-set`
- Adaptive Card schema version: 1.0

Demonstrates ActionSet — inline actions embedded in the card body, including Action.ShowCard (expands an inline sub-card) and Action.OpenUrl.

## Elements

- `ActionSet` — actions inline dans le body (hors section actions)
- `Action.ShowCard` — expand an inline sub-card with tooltip
- `Action.OpenUrl` — open external URL with tooltip

## Card JSON

```json
{
  "type": "AdaptiveCard",
  "version": "1.0",
  "body": [
    {
      "type": "TextBlock",
      "wrap": true,
      "text": "With **ActionSet**, cards can have actions anywhere in their body."
    },
    {
      "type": "ActionSet",
      "actions": [
        {
          "type": "Action.ShowCard",
          "title": "Action.ShowCard",
          "tooltip": "Click to expand an inline card",
          "card": {
            "type": "AdaptiveCard",
            "body": [
              {
                "type": "TextBlock",
                "text": "This is a show card"
              }
            ]
          }
        },
        {
          "type": "Action.OpenUrl",
          "title": "Action.OpenUrl",
          "tooltip": "Go to Microsoft.com",
          "url": "https://www.microsoft.com"
        }
      ]
    }
  ]
}
```
