Class: Google::Apis::ChatV1::MessageBatchCreatedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MessageBatchCreatedEventData
- 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
Event payload for multiple new messages. Event type: google.workspace.chat.
message.v1.batchCreated
Instance Attribute Summary collapse
-
#messages ⇒ Array<Google::Apis::ChatV1::MessageCreatedEventData>
A list of new messages.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MessageBatchCreatedEventData
constructor
A new instance of MessageBatchCreatedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MessageBatchCreatedEventData
Returns a new instance of MessageBatchCreatedEventData.
4386 4387 4388 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4386 def initialize(**args) update!(**args) end |
Instance Attribute Details
#messages ⇒ Array<Google::Apis::ChatV1::MessageCreatedEventData>
A list of new messages.
Corresponds to the JSON property messages
4384 4385 4386 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4384 def @messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4391 4392 4393 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4391 def update!(**args) @messages = args[:messages] if args.key?(:messages) end |