interface APIEmoji {
    animated?: boolean;
    available?: boolean;
    id: null | string;
    managed?: boolean;
    name: null | string;
    require_colons?: boolean;
    roles?: string[];
    user?: APIUser;
}

Hierarchy (View Summary)

Properties

animated?: boolean

Whether this emoji is animated

available?: boolean

Whether this emoji can be used, may be false due to loss of Server Boosts

id: null | string

Emoji id

managed?: boolean

Whether this emoji is managed

name: null | string

Emoji name (can be null only in reaction emoji objects)

require_colons?: boolean

Whether this emoji must be wrapped in colons

roles?: string[]

Roles this emoji is whitelisted to

user?: APIUser

User that created this emoji