google_api_chat v0.7.0 GoogleApi.Chat.V1.Model.TextButton 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

Link to this type

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