cardActions property
The card's actions.
Actions are added to the card's toolbar menu. Because Chat app cards have
no toolbar, cardActions[]
isn't supported by Chat apps. For example, the
following JSON constructs a card action menu with Settings
and Send Feedback
options: ``` "card_actions": [ { "actionLabel": "Settings",
"onClick": { "action": { "functionName": "goToView", "parameters": {
"key": "viewType", "value": "SETTING" }
, "loadIndicator":
"LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback",
"onClick": { "openLink": { "url": "https://example.com/feedback" } } } ]
Implementation
core.List<GoogleAppsCardV1CardAction>? cardActions;