Add a key value parameter to add special-case clicks to different buttons for your bot.
key/value { "key": "cardId", "value": "123abc" }
this object, for chaining
Apps Scripts bots must specify action.actionMethodName. To support interactive cards, bots must also define an onClickCard(event) method on the server to handle user clicks. This method will receive a callback when the user clicks the card.
this object, for chaining
Generated using TypeDoc
An action that enables interactivity with the Chat card. The Action does not happen directly on the client but rather invokes an Apps Script callback function with optional parameters.