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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.TextButton{
  onClick: GoogleApi.Chat.V1.Model.OnClick.t() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.