Google Apps Chat V1 Client - Class ReactionCreatedEventData (0.5.0)

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 Google\Apps\Chat\V1\Reaction

The new reaction.

getReaction

The new reaction.

Returns
Type Description
Google\Apps\Chat\V1\Reaction|null

hasReaction

clearReaction

setReaction

The new reaction.

Parameter
Name Description
var Google\Apps\Chat\V1\Reaction
Returns
Type Description
$this