Class: Google::Apps::Chat::V1::WidgetMarkup::ImageButton
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::WidgetMarkup::ImageButton
- 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
-
#icon ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::Icon
The icon specified by an
enum
that indices to an icon provided by Chat API. -
#icon_url ⇒ ::String
The icon specified by a URL.
-
#name ⇒ ::String
The name of this
image_button
that's used for accessibility. -
#on_click ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
The
onclick
action.
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.
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.
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.
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.
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 |