Class: Google::Apps::Chat::V1::WidgetMarkup::TextButton

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/widgets.rb

Overview

A button with text and onclick action.

Instance Attribute Summary collapse

Instance Attribute Details

#on_click::Google::Apps::Chat::V1::WidgetMarkup::OnClick

Returns The onclick action of the button.

Returns:



76
77
78
79
# File 'proto_docs/google/chat/v1/widgets.rb', line 76

class TextButton
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text::String

Returns The text of the button.

Returns:

  • (::String)

    The text of the button.



76
77
78
79
# File 'proto_docs/google/chat/v1/widgets.rb', line 76

class TextButton
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end