google_api_chat v0.13.0 GoogleApi.Chat.V1.Model.Button View Source

A button. Can be a text button or an image button.

Attributes

  • imageButton (type: GoogleApi.Chat.V1.Model.ImageButton.t, default: nil) - A button with image and onclick action.
  • textButton (type: GoogleApi.Chat.V1.Model.TextButton.t, default: nil) - A button with text and onclick action.

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.Button{
  imageButton: GoogleApi.Chat.V1.Model.ImageButton.t(),
  textButton: GoogleApi.Chat.V1.Model.TextButton.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.