Class: Google::Apis::ChatV1::MessageBatchDeletedEventData

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 deleted messages. Event type: google.workspace. chat.message.v1.batchDeleted

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MessageBatchDeletedEventData

Returns a new instance of MessageBatchDeletedEventData.



4071
4072
4073
# File 'lib/google/apis/chat_v1/classes.rb', line 4071

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

Instance Attribute Details

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

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



4069
4070
4071
# File 'lib/google/apis/chat_v1/classes.rb', line 4069

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4076
4077
4078
# File 'lib/google/apis/chat_v1/classes.rb', line 4076

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