12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970import type { Snowflake } from '../../globals.ts';import type { APIEmoji } from '../../payloads/v8/mod.ts';import type { AddUndefinedToPossiblyUndefinedPropertiesOfInterface } from '../../utils/internals.ts';
/** * https://discord.com/developers/docs/resources/emoji#list-guild-emojis * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTGetAPIGuildEmojisResult = APIEmoji[];
/** * https://discord.com/developers/docs/resources/emoji#get-guild-emoji * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTGetAPIGuildEmojiResult = APIEmoji;
/** * https://discord.com/developers/docs/resources/emoji#create-guild-emoji-json-params * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTPostAPIGuildEmojiJSONBody = AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ /** * Name of the emoji */ name: string; /** * The 128x128 emoji image * * https://discord.com/developers/docs/reference#image-data */ image: string; /** * Roles for which this emoji will be whitelisted */ roles?: Snowflake[];}>;
/** * https://discord.com/developers/docs/resources/emoji#create-guild-emoji * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTPostAPIGuildEmojiResult = APIEmoji;
/** * https://discord.com/developers/docs/resources/emoji#modify-guild-emoji * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTPatchAPIGuildEmojiJSONBody = AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ /** * Name of the emoji */ name?: string; /** * Roles for which this emoji will be whitelisted */ roles?: Snowflake[] | null;}>;
/** * https://discord.com/developers/docs/resources/emoji#modify-guild-emoji * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTPatchAPIGuildEmojiResult = APIEmoji;
/** * https://discord.com/developers/docs/resources/emoji#delete-guild-emoji * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export type RESTDeleteAPIGuildEmojiResult = never;