UNPKG

1.13 kBTypeScriptView Raw
1import type { OptionalArgument } from '../helpers';
2import type { CursorPaginationEnabled, FileArgument, FileCommentArgument, MessageArgument, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common';
3export interface ReactionsFull {
4 /** @description If `true`, return the complete reaction list. */
5 full?: boolean;
6}
7export interface ReactionName {
8 /** @description Reaction (emoji) name. */
9 name: string;
10}
11export interface ReactionsAddArguments extends MessageArgument, TokenOverridable, ReactionName {
12}
13export type ReactionsGetArguments = ReactionsFull & TokenOverridable & (MessageArgument | FileArgument | FileCommentArgument);
14export type ReactionsListArguments = OptionalArgument<ReactionsFull & TokenOverridable & TraditionalPagingEnabled & CursorPaginationEnabled & OptionalTeamAssignable & {
15 /** @description Show reactions made by this user. Defaults to the authed user. */
16 user?: string;
17}>;
18export type ReactionsRemoveArguments = TokenOverridable & ReactionName & (MessageArgument | FileArgument | FileCommentArgument);
19//# sourceMappingURL=reactions.d.ts.map
\No newline at end of file