GoogleApi.Chat.V1.Model.Button (google_api_chat v0.26.0) 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

Specs

t() :: %GoogleApi.Chat.V1.Model.Button{
  imageButton: GoogleApi.Chat.V1.Model.ImageButton.t() | nil,
  textButton: GoogleApi.Chat.V1.Model.TextButton.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.