REST Resource: customEmojis

Resource: CustomEmoji

Represents a custom emoji.

JSON representation
{
  "name": string,
  "uid": string,
  "emojiName": string,
  "temporaryImageUri": string,
  "payload": {
    object (CustomEmojiPayload)
  }
}
Fields
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.

emojiName

string

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:

temporaryImageUri

string

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

object (CustomEmojiPayload)

Input only. Payload data.

CustomEmojiPayload

Payload data for the custom emoji.

JSON representation
{
  "fileContent": string,
  "filename": string
}
Fields
fileContent

string (bytes format)

Required. Input only. The image used for the custom emoji.

filename

string

Required. Input only. The image file name.

Methods

create

Creates a custom emoji.

delete

Deletes a custom emoji.

get

Returns details about a custom emoji.

list

Lists custom emojis visible to the authenticated user.