GoogleApi.Chat.V1.Model.CardAction (google_api_chat v0.30.0) 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 (type: String.t, default: nil) - The label used to be displayed in the action menu item.
  • onClick (type: GoogleApi.Chat.V1.Model.OnClick.t, default: nil) - The onclick action for this action item.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.