GoogleApi.Chat.V1.Model.CustomEmoji (google_api_chat v0.43.0)

View Source

Represents a custom emoji.

Attributes

  • emojiName (type: String.t, default: nil) - 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:
  • name (type: String.t, default: nil) - Identifier. The resource name of the custom emoji, assigned by the server. Format: customEmojis/{customEmoji}
  • payload (type: GoogleApi.Chat.V1.Model.CustomEmojiPayload.t, default: nil) - Optional. Input only. Payload data. Required when the custom emoji is created.
  • temporaryImageUri (type: String.t, default: nil) - 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.
  • uid (type: String.t, default: nil) - Output only. Unique key for the custom emoji resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Chat.V1.Model.CustomEmoji{
  emojiName: String.t() | nil,
  name: String.t() | nil,
  payload: GoogleApi.Chat.V1.Model.CustomEmojiPayload.t() | nil,
  temporaryImageUri: String.t() | nil,
  uid: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.