Google Chat V1 API - Class Google::Apps::Chat::V1::WidgetMarkup::ImageButton (v0.4.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::ImageButton.

An image button with an onclick action.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#icon

def icon() -> ::Google::Apps::Chat::V1::WidgetMarkup::Icon
Returns

#icon=

def icon=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::Icon
Parameter
Returns

#icon_url

def icon_url() -> ::String
Returns
  • (::String) — The icon specified by a URL.

#icon_url=

def icon_url=(value) -> ::String
Parameter
  • value (::String) — The icon specified by a URL.
Returns
  • (::String) — The icon specified by a URL.

#name

def name() -> ::String
Returns
  • (::String) — The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.
Returns
  • (::String) — The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.

#on_click

def on_click() -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Returns

#on_click=

def on_click=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Parameter
Returns