Reference documentation and code samples for the Google Apps Chat V1 Client class Emoji.
An emoji that is used as a reaction to a message.
Generated from protobuf message google.chat.v1.Emoji
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ unicode |
string
A basic emoji represented by a unicode string. |
↳ custom_emoji |
CustomEmoji
Output only. A custom emoji. |
getUnicode
A basic emoji represented by a unicode string.
Returns | |
---|---|
Type | Description |
string |
hasUnicode
setUnicode
A basic emoji represented by a unicode string.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCustomEmoji
Output only. A custom emoji.
Returns | |
---|---|
Type | Description |
CustomEmoji|null |
hasCustomEmoji
setCustomEmoji
Output only. A custom emoji.
Parameter | |
---|---|
Name | Description |
var |
CustomEmoji
|
Returns | |
---|---|
Type | Description |
$this |
getContent
Returns | |
---|---|
Type | Description |
string |