Google Apps Chat V1 Client - Class Emoji (0.1.3)

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 \ V1

Methods

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

hasCustomEmoji

setCustomEmoji

Output only. A custom emoji.

Parameter
Name Description
var Google\Apps\Chat\V1\CustomEmoji
Returns
Type Description
$this

getContent

Returns
Type Description
string