Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::TextButton.
A button with text and onclick
action.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#on_click
def on_click() -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::OnClick) — The
onclick
action of the button.
#on_click=
def on_click=(value) -> ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
Parameter
-
value (::Google::Apps::Chat::V1::WidgetMarkup::OnClick) — The
onclick
action of the button.
Returns
-
(::Google::Apps::Chat::V1::WidgetMarkup::OnClick) — The
onclick
action of the button.
#text
def text() -> ::String
Returns
- (::String) — The text of the button.
#text=
def text=(value) -> ::String
Parameter
- value (::String) — The text of the button.
Returns
- (::String) — The text of the button.