Google Apps Chat V1 Client - Class DeleteCustomEmojiRequest (0.11.1)

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

Request for deleting a custom emoji.

Generated from protobuf message google.chat.v1.DeleteCustomEmojiRequest

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 to delete. 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 to delete.

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 to delete.

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 to delete.

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
DeleteCustomEmojiRequest