Class: Google::Apis::ChatV1::ReactionDeletedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ReactionDeletedEventData
- 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 reaction. Type: google.workspace.chat.reaction.v1.
deleted
Instance Attribute Summary collapse
-
#reaction ⇒ Google::Apis::ChatV1::Reaction
A reaction to a message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReactionDeletedEventData
constructor
A new instance of ReactionDeletedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReactionDeletedEventData
Returns a new instance of ReactionDeletedEventData.
4404 4405 4406 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reaction ⇒ Google::Apis::ChatV1::Reaction
A reaction to a message.
Corresponds to the JSON property reaction
4402 4403 4404 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4402 def reaction @reaction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4409 4410 4411 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4409 def update!(**args) @reaction = args[:reaction] if args.key?(:reaction) end |