Class: Google::Apis::ChatV1::MessageDeletedEventData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MessageDeletedEventData

Returns a new instance of MessageDeletedEventData.



5513
5514
5515
# File 'lib/google/apis/chat_v1/classes.rb', line 5513

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

Instance Attribute Details

#messageGoogle::Apis::ChatV1::Message

A message in a Google Chat space. Corresponds to the JSON property message



5511
5512
5513
# File 'lib/google/apis/chat_v1/classes.rb', line 5511

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5518
5519
5520
# File 'lib/google/apis/chat_v1/classes.rb', line 5518

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