GoogleApi.Chat.V1.Model.OnClick (google_api_chat v0.30.1) View Source

An onclick action (e.g. open a link).

Attributes

  • action (type: GoogleApi.Chat.V1.Model.FormAction.t, default: nil) - A form action will be triggered by this onclick if specified.
  • openLink (type: GoogleApi.Chat.V1.Model.OpenLink.t, default: nil) - This onclick triggers an open link action if specified.

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.OnClick{
  action: GoogleApi.Chat.V1.Model.FormAction.t() | nil,
  openLink: GoogleApi.Chat.V1.Model.OpenLink.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.