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

An onclick action (for example, open a link).

Attributes

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.OnClick{
  action: GoogleApi.Chat.V1.Model.FormAction.t() | nil,
  openLink: GoogleApi.Chat.V1.Model.OpenLink.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.