Class: Google::Apis::ChatV1::MessageUpdatedEventData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MessageUpdatedEventData

Returns a new instance of MessageUpdatedEventData.



4486
4487
4488
# File 'lib/google/apis/chat_v1/classes.rb', line 4486

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



4484
4485
4486
# File 'lib/google/apis/chat_v1/classes.rb', line 4484

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4491
4492
4493
# File 'lib/google/apis/chat_v1/classes.rb', line 4491

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