Reference documentation and code samples for the Google Apps Chat V1 Client class Reaction.
A reaction to a message.
Generated from protobuf message google.chat.v1.Reaction
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the reaction. Format: spaces/{space}/messages/{message}/reactions/{reaction}
↳ user
↳ emoji
getName
The resource name of the reaction.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
string
setName
The resource name of the reaction.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
var
string
$this
getUser
Output only. The user who created the reaction.
hasUser
clearUser
setUser
Output only. The user who created the reaction.
$this
getEmoji
The emoji used in the reaction.
hasEmoji
clearEmoji
setEmoji
The emoji used in the reaction.
$this