GoogleApi.Chat.V1.Model.ImageButton (google_api_chat v0.30.1) View Source

An image button with an onclick action.

Attributes

  • icon (type: String.t, default: nil) - The icon specified by an enum that indices to an icon provided by Chat API.
  • iconUrl (type: String.t, default: nil) - The icon specified by a URL.
  • name (type: String.t, default: nil) - The name of this image_button which will be used for accessibility. Default value will be provided if developers don't specify.
  • onClick (type: GoogleApi.Chat.V1.Model.OnClick.t, default: nil) - The 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.ImageButton{
  icon: String.t() | nil,
  iconUrl: String.t() | nil,
  name: String.t() | nil,
  onClick: GoogleApi.Chat.V1.Model.OnClick.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.