GoogleApi.Chat.V1.Model.TextButton (google_api_chat v0.26.0) View Source

A button with text and onclick action.

Attributes

  • onClick (type: GoogleApi.Chat.V1.Model.OnClick.t, default: nil) - The onclick action of the button.
  • text (type: String.t, default: nil) - The text of the button.

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.TextButton{
  onClick: GoogleApi.Chat.V1.Model.OnClick.t() | nil,
  text: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.