Class: Google::Apis::ChatV1::MessageBatchUpdatedEventData

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

Event payload for multiple updated messages. Event type: google.workspace. chat.message.v1.batchUpdated

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MessageBatchUpdatedEventData

Returns a new instance of MessageBatchUpdatedEventData.



4091
4092
4093
# File 'lib/google/apis/chat_v1/classes.rb', line 4091

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

Instance Attribute Details

#messagesArray<Google::Apis::ChatV1::MessageUpdatedEventData>

A list of updated messages. Corresponds to the JSON property messages



4089
4090
4091
# File 'lib/google/apis/chat_v1/classes.rb', line 4089

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4096
4097
4098
# File 'lib/google/apis/chat_v1/classes.rb', line 4096

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