Class: Google::Apps::Chat::V1::WidgetMarkup::ImageButton

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

Overview

An image button with an onclick action.

Instance Attribute Summary collapse

Instance Attribute Details

#icon::Google::Apps::Chat::V1::WidgetMarkup::Icon

Returns The icon specified by an enum that indices to an icon provided by Chat API.

Returns:



168
169
170
171
# File 'proto_docs/google/chat/v1/widgets.rb', line 168

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

#icon_url::String

Returns The icon specified by a URL.

Returns:

  • (::String)

    The icon specified by a URL.



168
169
170
171
# File 'proto_docs/google/chat/v1/widgets.rb', line 168

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

#name::String

Returns The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.

Returns:

  • (::String)

    The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.



168
169
170
171
# File 'proto_docs/google/chat/v1/widgets.rb', line 168

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

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

Returns The onclick action.

Returns:



168
169
170
171
# File 'proto_docs/google/chat/v1/widgets.rb', line 168

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