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

A button with text and onclick action.

Attributes

  • onClick (OnClick): The onclick action of the button. Defaults to: null.
  • text (String.t): The text of the button. Defaults to: null.

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: any()
}

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.