View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1Image (google_api_chat v0.34.3)
An image that is specified by a URL and can have an onClick
action. For an example, see Add an image. Google Workspace Add-ons and Chat apps:
Attributes
-
altText
(type:String.t
, default:nil
) - The alternative text of this image that's used for accessibility. -
imageUrl
(type:String.t
, default:nil
) - The HTTPS URL that hosts the image. For example:https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
-
onClick
(type:GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t
, default:nil
) - When a user clicks the image, the click triggers this action.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1Image{ altText: String.t() | nil, imageUrl: String.t() | nil, onClick: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.