summary refs log tree commit diff
path: root/src/schemas/api/bots/SendableMessageComponentDataSchema.ts
blob: eb8d2ee1e0dc28adddac2c9f054e45280bac6a4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { Snowflake } from "@spacebar/util";
import { MessageComponentType } from "../messages";
import { ApplicationCommandType } from "./ApplicationCommandSchema";

export interface SendableMessageComponentDataSchema {
    component_type?: MessageComponentType;
    type?: ApplicationCommandType;
    custom_id: string;
    values?: Snowflake[] | string[];
}