Class WidgetMarkup
A widget is a UI element that presents text and images.
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class WidgetMarkup : IDirectResponseSchema
Properties
Buttons
A list of buttons. Buttons is also oneof data
and only one of these fields should be set.
Declaration
[JsonProperty("buttons")]
public virtual IList<Button> Buttons { get; set; }
Property Value
Type | Description |
---|---|
IList<Button> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Image
Display an image in this widget.
Declaration
[JsonProperty("image")]
public virtual Image Image { get; set; }
Property Value
Type | Description |
---|---|
Image |
KeyValue
Display a key value item in this widget.
Declaration
[JsonProperty("keyValue")]
public virtual KeyValue KeyValue { get; set; }
Property Value
Type | Description |
---|---|
KeyValue |
TextParagraph
Display a text paragraph in this widget.
Declaration
[JsonProperty("textParagraph")]
public virtual TextParagraph TextParagraph { get; set; }
Property Value
Type | Description |
---|---|
TextParagraph |