GoogleApi.Chat.V1.Model.GoogleAppsCardV1Image (google_api_chat v0.26.0) View Source

An image that is specified by a URL and can have an onClick action.

Attributes

  • altText (type: String.t, default: nil) - The alternative text of this image, used for accessibility.
  • imageUrl (type: String.t, default: nil) - An image URL.
  • onClick (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t, default: nil) -

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.GoogleAppsCardV1Image{
  altText: String.t() | nil,
  imageUrl: String.t() | nil,
  onClick: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.