Class: Google::Apps::Chat::V1::WidgetMarkup::Button

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. Can be a text button or an image button.

Instance Attribute Summary collapse

Instance Attribute Details

#image_button::Google::Apps::Chat::V1::WidgetMarkup::ImageButton

Returns A button with image and onclick action.

Note: The following fields are mutually exclusive: image_button, text_button. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::WidgetMarkup::ImageButton)

    A button with image and onclick action.

    Note: The following fields are mutually exclusive: image_button, text_button. If a field in that set is populated, all other fields in the set will automatically be cleared.



74
75
76
77
# File 'proto_docs/google/chat/v1/widgets.rb', line 74

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

#text_button::Google::Apps::Chat::V1::WidgetMarkup::TextButton

Returns A button with text and onclick action.

Note: The following fields are mutually exclusive: text_button, image_button. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::WidgetMarkup::TextButton)

    A button with text and onclick action.

    Note: The following fields are mutually exclusive: text_button, image_button. If a field in that set is populated, all other fields in the set will automatically be cleared.



74
75
76
77
# File 'proto_docs/google/chat/v1/widgets.rb', line 74

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