Google Chat V1 API - Class Google::Apps::Chat::V1::WidgetMarkup::TextButton (v0.2.0)

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

#on_click=

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

#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.