neet/masto.js

View on GitHub
src/mastodon/entities/v1/custom-emoji.ts

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Represents a custom emoji.
 * @see https://docs.joinmastodon.org/entities/CustomEmoji/
 */
export interface CustomEmoji {
  /** The name of the custom emoji. */
  shortcode: string;
  /** A link to the custom emoji. */
  url: string;
  /** A link to a static copy of the custom emoji. */
  staticUrl: string;
  /** Whether this Emoji should be visible in the picker or unlisted. */
  visibleInPicker: boolean;

  /** Used for sorting custom emoji in the picker. */
  category?: string | null;
}