summary refs log tree commit diff
path: root/src/util/schemas/MessageCreateSchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/MessageCreateSchema.ts')
-rw-r--r--src/util/schemas/MessageCreateSchema.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts

index 57abf62f..8093a10a 100644 --- a/src/util/schemas/MessageCreateSchema.ts +++ b/src/util/schemas/MessageCreateSchema.ts
@@ -18,7 +18,7 @@ import { Embed } from "@spacebar/util"; -type Attachment = { +export type MessageCreateAttachment = { id: string; filename: string; }; @@ -52,7 +52,7 @@ export interface MessageCreateSchema { TODO: we should create an interface for attachments TODO: OpenWAAO<-->attachment-style metadata conversion **/ - attachments?: Attachment[]; + attachments?: MessageCreateAttachment[]; sticker_ids?: string[]; // eslint-disable-next-line @typescript-eslint/no-explicit-any components?: any[];