google_api_chat v0.6.0 GoogleApi.Chat.V1.Model.CardAction View Source

A card action is the action associated with the card. For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser.

Attributes

  • actionLabel (String.t): The label used to be displayed in the action menu item. Defaults to nil.
  • onClick (GoogleApi.Chat.V1.Model.OnClick.t): The onclick action for this action item. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Chat.V1.Model.CardAction{
  actionLabel: String.t(),
  onClick: GoogleApi.Chat.V1.Model.OnClick.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.