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

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 that's used for accessibility. Default value is provided if this name isn't specified.
  • onClick (type: GoogleApi.Chat.V1.Model.OnClick.t, default: nil) - The onclick action.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.