Files
taro-bot-python/templates/webhook-card.json
Björn Benouarets ee9903b704 init: Initial commit
2026-01-19 14:14:54 +01:00

50 lines
1.4 KiB
JSON

{
"type": "AdaptiveCard",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"style": "Person",
"url": "{{creator.url}}",
"altText": "{{creator.name}}",
"size": "Small"
}
],
"width": "auto"
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"weight": "Bolder",
"text": "{{creator.name}}",
"wrap": true
}
],
"verticalContentAlignment": "Center"
}
]
},
{
"type": "TextBlock",
"text": "{{content}}",
"wrap": true
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "{{action.title}}",
"url": "{{action.url}}"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6"
}