Google Apps Chat V1 Client - Class GetCustomEmojiRequest (0.12.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class GetCustomEmojiRequest.

A request to return a single custom emoji.

Generated from protobuf message google.chat.v1.GetCustomEmojiRequest

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. Resource name of the custom emoji. Format: customEmojis/{customEmoji} You can use the emoji name as an alias for {customEmoji} . For example, customEmojis/:example-emoji: where :example-emoji: is the emoji name for a custom emoji.

getName

Required. Resource name of the custom emoji.

Format: customEmojis/{customEmoji} You can use the emoji name as an alias for {customEmoji} . For example, customEmojis/:example-emoji: where :example-emoji: is the emoji name for a custom emoji.

Returns
Type
Description
string

setName

Required. Resource name of the custom emoji.

Format: customEmojis/{customEmoji} You can use the emoji name as an alias for {customEmoji} . For example, customEmojis/:example-emoji: where :example-emoji: is the emoji name for a custom emoji.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameter
Name
Description
name
string

Required. Resource name of the custom emoji.

Format: customEmojis/{customEmoji}

You can use the emoji name as an alias for {customEmoji} . For example, customEmojis/:example-emoji: where :example-emoji: is the emoji name for a custom emoji. Please see ChatServiceClient::customEmojiName() for help formatting this field.

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