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
Optional. A basic emoji represented by a unicode string. |
↳ custom_emoji |
CustomEmoji
A custom emoji. |
getUnicode
Optional. A basic emoji represented by a unicode string.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUnicode
setUnicode
Optional. A basic emoji represented by a unicode string.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomEmoji
A custom emoji.
| Returns | |
|---|---|
| Type | Description |
CustomEmoji|null |
|
hasCustomEmoji
setCustomEmoji
A custom emoji.
| Parameter | |
|---|---|
| Name | Description |
var |
CustomEmoji
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContent
| Returns | |
|---|---|
| Type | Description |
string |
|