@slack/web-api
Version:
Official library for using the Slack Platform's Web API
32 lines • 1.22 kB
TypeScript
import type { OptionalArgument } from '../../helpers';
import type { CursorPaginationEnabled, TokenOverridable } from '../common';
interface Name {
/**
* @description The name of the emoji. Colons (:myemoji:) around the value are not required,
* although they may be included.
*/
name: string;
}
export interface AdminEmojiAddArguments extends Name, TokenOverridable {
/**
* @description The URL of a file to use as an image for the emoji.
* Square images under 128KB and with transparent backgrounds work best.
*/
url: string;
}
export interface AdminEmojiAddAliasArguments extends Name, TokenOverridable {
/**
* @description Name of the emoji for which the alias is being made.
* Any wrapping whitespace or colons will be automatically trimmed.
*/
alias_for: string;
}
export type AdminEmojiListArguments = OptionalArgument<TokenOverridable & CursorPaginationEnabled>;
export interface AdminEmojiRemoveArguments extends Name, TokenOverridable {
}
export interface AdminEmojiRenameArguments extends Name, TokenOverridable {
/** @description The new name of the emoji. */
new_name: string;
}
export {};
//# sourceMappingURL=emoji.d.ts.map