summary refs log tree commit diff
path: root/dist/models/Interaction.d.ts
blob: df03b8a926e9849aa543ed52f72c2af329a54d7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { AllowedMentions, Embed } from "./Message";
export interface Interaction {
    id: bigint;
    type: InteractionType;
    data?: {};
    guild_id: bigint;
    channel_id: bigint;
    member_id: bigint;
    token: string;
    version: number;
}
export declare enum InteractionType {
    Ping = 1,
    ApplicationCommand = 2
}
export declare enum InteractionResponseType {
    Pong = 1,
    Acknowledge = 2,
    ChannelMessage = 3,
    ChannelMessageWithSource = 4,
    AcknowledgeWithSource = 5
}
export interface InteractionApplicationCommandCallbackData {
    tts?: boolean;
    content: string;
    embeds?: Embed[];
    allowed_mentions?: AllowedMentions;
}