Google Apps Chat V1 Client - Class ReactionCreatedEventData (0.6.1)

Reference documentation and code samples for the Google Apps Chat V1 Client class ReactionCreatedEventData.

Event payload for a new reaction.

Event type: google.workspace.chat.reaction.v1.created

Generated from protobuf message google.chat.v1.ReactionCreatedEventData

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reaction Reaction

The new reaction.

getReaction

The new reaction.

Returns
Type Description
Reaction|null

hasReaction

clearReaction

setReaction

The new reaction.

Parameter
Name Description
var Reaction
Returns
Type Description
$this