Class: Google::Apis::ChatV1::MessageCreatedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MessageCreatedEventData
- 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 new message. Event type: google.workspace.chat.message.v1.
created
Instance Attribute Summary collapse
-
#message ⇒ Google::Apis::ChatV1::Message
A message in a Google Chat space.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MessageCreatedEventData
constructor
A new instance of MessageCreatedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MessageCreatedEventData
Returns a new instance of MessageCreatedEventData.
4446 4447 4448 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4446 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
4444 4445 4446 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4444 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4451 4452 4453 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4451 def update!(**args) @message = args[:message] if args.key?(:message) end |