Class: Google::Apis::ChatV1::AccessoryWidget
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::AccessoryWidget
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
One or more interactive widgets that appear at the bottom of a message. For details, see Add interactive widgets at the bottom of a message.
Instance Attribute Summary collapse
-
#button_list ⇒ Google::Apis::ChatV1::GoogleAppsCardV1ButtonList
A list of buttons layed out horizontally.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessoryWidget
constructor
A new instance of AccessoryWidget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessoryWidget
Returns a new instance of AccessoryWidget.
74 75 76 |
# File 'lib/google/apis/chat_v1/classes.rb', line 74 def initialize(**args) update!(**args) end |
Instance Attribute Details
#button_list ⇒ Google::Apis::ChatV1::GoogleAppsCardV1ButtonList
A list of buttons layed out horizontally. For an example in Google Chat apps,
see Add a button. Google Workspace Add-ons and Chat apps:
Corresponds to the JSON property buttonList
72 73 74 |
# File 'lib/google/apis/chat_v1/classes.rb', line 72 def @button_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
79 80 81 |
# File 'lib/google/apis/chat_v1/classes.rb', line 79 def update!(**args) @button_list = args[:button_list] if args.key?(:button_list) end |