Class Image
An image that's specified by a URL and can have an onclick
action.
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class Image : IDirectResponseSchema
Properties
AspectRatio
The aspect ratio of this image (width and height). This field lets you reserve the right height for the image while waiting for it to load. It's not meant to override the built-in aspect ratio of the image. If unset, the server fills it by prefetching the image.
Declaration
[JsonProperty("aspectRatio")]
public virtual double? AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl
The URL of the image.
Declaration
[JsonProperty("imageUrl")]
public virtual string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
OnClick
The onclick
action.
Declaration
[JsonProperty("onClick")]
public virtual OnClick OnClick { get; set; }
Property Value
Type | Description |
---|---|
OnClick |