Lingo.Type.Emoji (Lingo v0.4.2)

Copy Markdown View Source

A custom or unicode emoji.

Summary

Functions

Formats an emoji for use in message content.

Types

t()

@type t() :: %Lingo.Type.Emoji{
  animated: boolean(),
  available: boolean(),
  id: String.t() | nil,
  managed: boolean(),
  name: String.t() | nil,
  require_colons: boolean(),
  roles: [String.t()],
  user: Lingo.Type.User.t() | nil
}

Functions

format(emoji)

@spec format(t()) :: String.t()

Formats an emoji for use in message content.