Class: Google::Apis::ChatV1::MessageDeletedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MessageDeletedEventData
- 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 a deleted message. Event type: google.workspace.chat.
message.v1.deleted
Instance Attribute Summary collapse
-
#message ⇒ Google::Apis::ChatV1::Message
A message in a Google Chat space.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MessageDeletedEventData
constructor
A new instance of MessageDeletedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MessageDeletedEventData
Returns a new instance of MessageDeletedEventData.
4466 4467 4468 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ Google::Apis::ChatV1::Message
A message in a Google Chat space.
Corresponds to the JSON property message
4464 4465 4466 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4464 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4471 4472 4473 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4471 def update!(**args) @message = args[:message] if args.key?(:message) end |