Class WidgetMarkup
A widget is a UI element that presents text and images.
Assembly: Google.Apps.Chat.V1.dll
public sealed class WidgetMarkup : IMessage<WidgetMarkup>, IEquatable<WidgetMarkup>, IDeepCloneable<WidgetMarkup>, IBufferMessage, IMessage
Constructors
Declaration
Declaration
public WidgetMarkup(WidgetMarkup other)
Parameters
Properties
A list of buttons. Buttons is also oneof data
and only one of these
fields should be set.
Declaration
public RepeatedField<WidgetMarkup.Types.Button> Buttons { get; }
Property Value
Declaration
public WidgetMarkup.DataOneofCase DataCase { get; }
Property Value
Display an image in this widget.
Declaration
public WidgetMarkup.Types.Image Image { get; set; }
Property Value
Display a key value item in this widget.
Declaration
public WidgetMarkup.Types.KeyValue KeyValue { get; set; }
Property Value
TextParagraph
Display a text paragraph in this widget.
Declaration
public WidgetMarkup.Types.TextParagraph TextParagraph { get; set; }
Property Value