Show / Hide Table of Contents

Class CustomEmoji

Represents a custom emoji.

Inheritance
object
CustomEmoji
Implements
IMessage<CustomEmoji>
IEquatable<CustomEmoji>
IDeepCloneable<CustomEmoji>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class CustomEmoji : IMessage<CustomEmoji>, IEquatable<CustomEmoji>, IDeepCloneable<CustomEmoji>, IBufferMessage, IMessage

Constructors

CustomEmoji()

Declaration
public CustomEmoji()

CustomEmoji(CustomEmoji)

Declaration
public CustomEmoji(CustomEmoji other)
Parameters
Type Name Description
CustomEmoji other

Properties

CustomEmojiName

CustomEmojiName-typed view over the Name resource name property.

Declaration
public CustomEmojiName CustomEmojiName { get; set; }
Property Value
Type Description
CustomEmojiName

EmojiName

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:

Declaration
public string EmojiName { get; set; }
Property Value
Type Description
string

Name

Identifier. The resource name of the custom emoji, assigned by the server.

Format: customEmojis/{customEmoji}

Declaration
public string Name { get; set; }
Property Value
Type Description
string

Payload

Optional. Input only. Payload data. Required when the custom emoji is created.

Declaration
public CustomEmoji.Types.CustomEmojiPayload Payload { get; set; }
Property Value
Type Description
CustomEmoji.Types.CustomEmojiPayload

TemporaryImageUri

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.

Declaration
public string TemporaryImageUri { get; set; }
Property Value
Type Description
string

Uid

Output only. Unique key for the custom emoji resource.

Declaration
public string Uid { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX