UNPKG

1.22 kBTypeScriptView Raw
1import type { OptionalArgument } from '../../helpers';
2import type { CursorPaginationEnabled, TokenOverridable } from '../common';
3interface Name {
4 /**
5 * @description The name of the emoji. Colons (:myemoji:) around the value are not required,
6 * although they may be included.
7 */
8 name: string;
9}
10export interface AdminEmojiAddArguments extends Name, TokenOverridable {
11 /**
12 * @description The URL of a file to use as an image for the emoji.
13 * Square images under 128KB and with transparent backgrounds work best.
14 */
15 url: string;
16}
17export interface AdminEmojiAddAliasArguments extends Name, TokenOverridable {
18 /**
19 * @description Name of the emoji for which the alias is being made.
20 * Any wrapping whitespace or colons will be automatically trimmed.
21 */
22 alias_for: string;
23}
24export type AdminEmojiListArguments = OptionalArgument<TokenOverridable & CursorPaginationEnabled>;
25export interface AdminEmojiRemoveArguments extends Name, TokenOverridable {
26}
27export interface AdminEmojiRenameArguments extends Name, TokenOverridable {
28 /** @description The new name of the emoji. */
29 new_name: string;
30}
31export {};
32//# sourceMappingURL=emoji.d.ts.map
\No newline at end of file