Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::Button.
A button. Can be a text button or an image button.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#image_button
def image_button() -> ::Google::Apps::Chat::V1::WidgetMarkup::ImageButton
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::ImageButton) — A button with image and
onclick
action.
#image_button=
def image_button=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::ImageButton
Parameter
-
value (::Google::Apps::Chat::V1::WidgetMarkup::ImageButton) — A button with image and
onclick
action.
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::ImageButton) — A button with image and
onclick
action.
#text_button
def text_button() -> ::Google::Apps::Chat::V1::WidgetMarkup::TextButton
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::TextButton) — A button with text and
onclick
action.
#text_button=
def text_button=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::TextButton
Parameter
-
value (::Google::Apps::Chat::V1::WidgetMarkup::TextButton) — A button with text and
onclick
action.
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::TextButton) — A button with text and
onclick
action.