summary refs log tree commit diff
path: root/src/schemas/api/bots/SendableMessageComponentDataSchema.ts
blob: 6581fa7c367c9495d86fcea547f9b12c027640e4 (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[];
}