google_api_chat v0.9.0 GoogleApi.Chat.V1.Model.Image View Source

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

Attributes

  • aspectRatio (type: float(), default: nil) - The aspect ratio of this image (width/height).
  • imageUrl (type: String.t, default: nil) - The URL of the image.
  • 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

Link to this type

t()

View Source
t() :: %GoogleApi.Chat.V1.Model.Image{
  aspectRatio: float(),
  imageUrl: String.t(),
  onClick: GoogleApi.Chat.V1.Model.OnClick.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.