Google Apps Chat V1 Client - Class EmojiReactionSummary (0.6.1)

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

The number of people who reacted to a message with a specific emoji.

Generated from protobuf message google.chat.v1.EmojiReactionSummary

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ emoji Emoji

Emoji associated with the reactions.

↳ reaction_count int

The total number of reactions using the associated emoji.

getEmoji

Emoji associated with the reactions.

Returns
Type Description
Emoji|null

hasEmoji

clearEmoji

setEmoji

Emoji associated with the reactions.

Parameter
Name Description
var Emoji
Returns
Type Description
$this

getReactionCount

The total number of reactions using the associated emoji.

Returns
Type Description
int

hasReactionCount

clearReactionCount

setReactionCount

The total number of reactions using the associated emoji.

Parameter
Name Description
var int
Returns
Type Description
$this