Emoji
Signature
export declare class Emoji<T extends boolean = false> extends DiscordBaseProperties
11Methods
4Properties
user: When<T, UserStructure>;id: string;createdTimestampGetterget createdTimestamp(): number;Create a timestamp for the current object.
createdAtGetterget createdAt(): Date;createdAt gets the creation Date instace of the current object.
readonly client: UsingClient;roles?: string[] | undefined;name: string | null;available?: boolean | undefined;requireColons?: boolean | undefined;managed?: boolean | undefined;animated?: boolean | undefined;Methods
constructorConstructorconstructor(client: UsingClient, data: APIEmoji);url(options?: BaseCDNUrlOptions): string;toString(): `<:${string}:${string}>` | `<a:${string}:${string}>`;Returns a string representation of an object.
toJSON(): { id: string; name: string | null; animated: boolean;};