Newer
Older
percord / src / schemas / api / bots / SendableMessageComponentDataSchema.ts
@CyberL1 CyberL1 on 17 Oct 348 bytes feat: interactions (incomplete)
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[];
}