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

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

Attributes

  • action (GoogleApi.Chat.V1.Model.FormAction.t): A form action will be trigger by this onclick if specified. Defaults to nil.
  • openLink (GoogleApi.Chat.V1.Model.OpenLink.t): This onclick triggers an open link action if specified. 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.OnClick{
  action: GoogleApi.Chat.V1.Model.FormAction.t(),
  openLink: GoogleApi.Chat.V1.Model.OpenLink.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.