UNPKG

1.16 kBTypeScriptView Raw
1import type { CursorPaginationEnabled, TokenOverridable } from '../common';
2interface Name {
3 /**
4 * @description The name of the emoji. Colons (:myemoji:) around the value are not required,
5 * although they may be included.
6 */
7 name: string;
8}
9export interface AdminEmojiAddArguments extends Name, TokenOverridable {
10 /**
11 * @description The URL of a file to use as an image for the emoji.
12 * Square images under 128KB and with transparent backgrounds work best.
13 */
14 url: string;
15}
16export interface AdminEmojiAddAliasArguments extends Name, TokenOverridable {
17 /**
18 * @description Name of the emoji for which the alias is being made.
19 * Any wrapping whitespace or colons will be automatically trimmed.
20 */
21 alias_for: string;
22}
23export interface AdminEmojiListArguments extends TokenOverridable, CursorPaginationEnabled {
24}
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