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.
82 83 84 |
# File 'lib/google/apis/chat_v1/classes.rb', line 82 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
80 81 82 |
# File 'lib/google/apis/chat_v1/classes.rb', line 80 def @button_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
87 88 89 |
# File 'lib/google/apis/chat_v1/classes.rb', line 87 def update!(**args) @button_list = args[:button_list] if args.key?(:button_list) end |