Google Apps Chat V1 Client - Class EmojiReactionSummary (0.7.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

Output only. Emoji associated with the reactions.

↳ reaction_count int

Output only. The total number of reactions using the associated emoji.

getEmoji

Output only. Emoji associated with the reactions.

Returns
Type Description
Emoji|null

hasEmoji

clearEmoji

setEmoji

Output only. Emoji associated with the reactions.

Parameter
Name Description
var Emoji
Returns
Type Description
$this

getReactionCount

Output only. The total number of reactions using the associated emoji.

Returns
Type Description
int

hasReactionCount

clearReactionCount

setReactionCount

Output only. The total number of reactions using the associated emoji.

Parameter
Name Description
var int
Returns
Type Description
$this