Class: Google::Apis::ChatV1::MessageBatchDeletedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MessageBatchDeletedEventData
- 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
-
#messages ⇒ Array<Google::Apis::ChatV1::MessageDeletedEventData>
A list of deleted messages.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MessageBatchDeletedEventData
constructor
A new instance of MessageBatchDeletedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MessageBatchDeletedEventData
Returns a new instance of MessageBatchDeletedEventData.
4137 4138 4139 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#messages ⇒ Array<Google::Apis::ChatV1::MessageDeletedEventData>
A list of deleted messages.
Corresponds to the JSON property messages
4135 4136 4137 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4135 def @messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4142 4143 4144 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4142 def update!(**args) @messages = args[:messages] if args.key?(:messages) end |