Resource: CustomEmoji
Represents a custom emoji.
JSON representation |
---|
{
"name": string,
"uid": string,
"emojiName": string,
"temporaryImageUri": string,
"payload": {
object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the custom emoji, assigned by the server. Format: |
uid |
Output only. Unique key for the custom emoji resource. |
emoji |
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: |
temporary |
Output only. The 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. |
payload |
Optional. Input only. Payload data. Required when the custom emoji is created. |
CustomEmojiPayload
Payload data for the custom emoji.
JSON representation |
---|
{ "fileContent": string, "filename": string } |
Fields | |
---|---|
file |
Required. Input only. The image used for the custom emoji. The payload must be under 256 KB and the dimension of the image must be between 64 and 500 pixels. The restrictions are subject to change. |
filename |
Required. Input only. The image file name. Supported file extensions: |
Methods |
|
---|---|
|
Creates a custom emoji. |
|
Deletes a custom emoji. |
|
Returns details about a custom emoji. |
|
Lists custom emojis visible to the authenticated user. |