Show / Hide Table of Contents

Class WidgetMarkup.Types.ImageButton

An image button with an onclick action.

Inheritance
object
WidgetMarkup.Types.ImageButton
Implements
IMessage<WidgetMarkup.Types.ImageButton>
IEquatable<WidgetMarkup.Types.ImageButton>
IDeepCloneable<WidgetMarkup.Types.ImageButton>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class WidgetMarkup.Types.ImageButton : IMessage<WidgetMarkup.Types.ImageButton>, IEquatable<WidgetMarkup.Types.ImageButton>, IDeepCloneable<WidgetMarkup.Types.ImageButton>, IBufferMessage, IMessage

Constructors

ImageButton()

Declaration
public ImageButton()

ImageButton(ImageButton)

Declaration
public ImageButton(WidgetMarkup.Types.ImageButton other)
Parameters
Type Name Description
WidgetMarkup.Types.ImageButton other

Properties

HasIcon

Gets whether the "icon" field is set

Declaration
public bool HasIcon { get; }
Property Value
Type Description
bool

HasIconUrl

Gets whether the "icon_url" field is set

Declaration
public bool HasIconUrl { get; }
Property Value
Type Description
bool

Icon

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
Type Description
WidgetMarkup.Types.Icon

IconUrl

The icon specified by a URL.

Declaration
public string IconUrl { get; set; }
Property Value
Type Description
string

IconsCase

Declaration
public WidgetMarkup.Types.ImageButton.IconsOneofCase IconsCase { get; }
Property Value
Type Description
WidgetMarkup.Types.ImageButton.IconsOneofCase

Name

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
Type Description
string

OnClick

The onclick action.

Declaration
public WidgetMarkup.Types.OnClick OnClick { get; set; }
Property Value
Type Description
WidgetMarkup.Types.OnClick
In this article
Back to top Generated by DocFX