Generated from protobuf messagegoogle.chat.v1.CustomEmoji
Namespace
Google \ Apps \ Chat \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the custom emoji, assigned by the server. Format:customEmojis/{customEmoji}
↳ uid
string
Output only. Unique key for the custom emoji resource.
↳ emoji_name
string
Optional. Immutable. User-provided name for the custom emoji, which is unique within the organization. Required when the custom emoji is created, output only otherwise. Emoji names must start and end with colons, must be lowercase and can only contain alphanumeric characters, hyphens, and underscores. Hyphens and underscores should be used to separate words and cannot be used consecutively. Example::valid-emoji-name:
↳ temporary_image_uri
string
Output only. A temporary image URL for the custom emoji, valid for at least 10 minutes. Note that this is not populated in the response when the custom emoji is created.
Optional. Input only. Payload data. Required when the custom emoji is created.
getName
Identifier. The resource name of the custom emoji, assigned by the server.
Format:customEmojis/{customEmoji}
Returns
Type
Description
string
setName
Identifier. The resource name of the custom emoji, assigned by the server.
Format:customEmojis/{customEmoji}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUid
Output only. Unique key for the custom emoji resource.
Returns
Type
Description
string
setUid
Output only. Unique key for the custom emoji resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEmojiName
Optional. Immutable. User-provided name for the custom emoji, which is
unique within the organization.
Required when the custom emoji is created, output only otherwise.
Emoji names must start and end with colons, must be lowercase and can only
contain alphanumeric characters, hyphens, and underscores.
Hyphens and underscores should be used to separate words and cannot be used
consecutively.
Example::valid-emoji-name:
Returns
Type
Description
string
setEmojiName
Optional. Immutable. User-provided name for the custom emoji, which is
unique within the organization.
Required when the custom emoji is created, output only otherwise.
Emoji names must start and end with colons, must be lowercase and can only
contain alphanumeric characters, hyphens, and underscores.
Hyphens and underscores should be used to separate words and cannot be used
consecutively.
Example::valid-emoji-name:
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTemporaryImageUri
Output only. A temporary image URL for the custom emoji, valid for at least
10 minutes. Note that this is not populated in the response when the custom
emoji is created.
Returns
Type
Description
string
setTemporaryImageUri
Output only. A temporary image URL for the custom emoji, valid for at least
10 minutes. Note that this is not populated in the response when the custom
emoji is created.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Apps Chat V1 Client - Class CustomEmoji (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Chat.V1.CustomEmoji)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Chat.V1.CustomEmoji)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Chat.V1.CustomEmoji)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Chat.V1.CustomEmoji)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Chat.V1.CustomEmoji)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Chat.V1.CustomEmoji)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Chat.V1.CustomEmoji)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Chat.V1.CustomEmoji)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Chat.V1.CustomEmoji)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Chat.V1.CustomEmoji)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Chat.V1.CustomEmoji)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Chat.V1.CustomEmoji) \nReference documentation and code samples for the Google Apps Chat V1 Client class CustomEmoji.\n\nRepresents a [custom emoji](https://support.google.com/chat/answer/12800149).\n\nGenerated from protobuf message `google.chat.v1.CustomEmoji`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Chat \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the custom emoji, assigned by the server.\n\nFormat: `customEmojis/{customEmoji}`\n\n### setName\n\nIdentifier. The resource name of the custom emoji, assigned by the server.\n\nFormat: `customEmojis/{customEmoji}`\n\n### getUid\n\nOutput only. Unique key for the custom emoji resource.\n\n### setUid\n\nOutput only. Unique key for the custom emoji resource.\n\n### getEmojiName\n\nOptional. Immutable. User-provided name for the custom emoji, which is\nunique within the organization.\n\nRequired when the custom emoji is created, output only otherwise.\nEmoji names must start and end with colons, must be lowercase and can only\ncontain alphanumeric characters, hyphens, and underscores.\nHyphens and underscores should be used to separate words and cannot be used\nconsecutively.\nExample: `:valid-emoji-name:`\n\n### setEmojiName\n\nOptional. Immutable. User-provided name for the custom emoji, which is\nunique within the organization.\n\nRequired when the custom emoji is created, output only otherwise.\nEmoji names must start and end with colons, must be lowercase and can only\ncontain alphanumeric characters, hyphens, and underscores.\nHyphens and underscores should be used to separate words and cannot be used\nconsecutively.\nExample: `:valid-emoji-name:`\n\n### getTemporaryImageUri\n\nOutput only. A temporary image URL for the custom emoji, valid for at least\n10 minutes. Note that this is not populated in the response when the custom\nemoji is created.\n\n### setTemporaryImageUri\n\nOutput only. A temporary image URL for the custom emoji, valid for at least\n10 minutes. Note that this is not populated in the response when the custom\nemoji is created.\n\n### getPayload\n\nOptional. Input only. Payload data.\n\nRequired when the custom emoji is created.\n\n### hasPayload\n\n### clearPayload\n\n### setPayload\n\nOptional. Input only. Payload data.\n\nRequired when the custom emoji is created."]]