Google Apps Chat V1 Client - Class EmojiReactionSummary (0.1.4)

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

hasEmoji

clearEmoji

setEmoji

Emoji associated with the reactions.

Parameter
Name Description
var Google\Apps\Chat\V1\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