google_api_chat v0.13.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). This field allows clients to reserve the right height for the image while waiting for it to load. It's not meant to override the native aspect ratio of the image. If unset, server will fill it by prefetching the image.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 Sourcet() :: %GoogleApi.Chat.V1.Model.Image{ aspectRatio: float(), imageUrl: String.t(), onClick: GoogleApi.Chat.V1.Model.OnClick.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.