Class WidgetMarkup.Types.ImageButton
An image button with an onclick
action.
Inheritance
WidgetMarkup.Types.ImageButton
Assembly: Google.Apps.Chat.V1.dll
public sealed class WidgetMarkup.Types.ImageButton : IMessage<WidgetMarkup.Types.ImageButton>, IEquatable<WidgetMarkup.Types.ImageButton>, IDeepCloneable<WidgetMarkup.Types.ImageButton>, IBufferMessage, IMessage
Constructors
Declaration
Declaration
public ImageButton(WidgetMarkup.Types.ImageButton other)
Parameters
Properties
Gets whether the "icon" field is set
Declaration
public bool HasIcon { get; }
Property Value
Gets whether the "icon_url" field is set
Declaration
public bool HasIconUrl { get; }
Property Value
The icon specified by an enum
that indices to an icon provided by
Chat API.
Declaration
public WidgetMarkup.Types.Icon Icon { get; set; }
Property Value
The icon specified by a URL.
Declaration
public string IconUrl { get; set; }
Property Value
Declaration
public WidgetMarkup.Types.ImageButton.IconsOneofCase IconsCase { get; }
Property Value
The name of this image_button
that's used for accessibility.
Default value is provided if this name isn't specified.
Declaration
public string Name { get; set; }
Property Value
Declaration
public WidgetMarkup.Types.OnClick OnClick { get; set; }
Property Value