Class: Google::Apis::ChatV1::AccessoryWidget

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccessoryWidget

Returns a new instance of AccessoryWidget.



70
71
72
# File 'lib/google/apis/chat_v1/classes.rb', line 70

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#button_listGoogle::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



68
69
70
# File 'lib/google/apis/chat_v1/classes.rb', line 68

def button_list
  @button_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



75
76
77
# File 'lib/google/apis/chat_v1/classes.rb', line 75

def update!(**args)
  @button_list = args[:button_list] if args.key?(:button_list)
end