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

A button with text and onclick action.

Attributes

  • onClick (GoogleApi.Chat.V1.Model.OnClick.t): The onclick action of the button. Defaults to nil.
  • text (String.t): The text of the button. 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.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.