Google Apps Chat V1 Client - Class Emoji (0.12.0)

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

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
Returns
Type
Description
$this

getContent

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: