summary refs log tree commit diff
path: root/src/util/interfaces/MessageOptions.ts
blob: 3705e66843e50ad797d79aed4db5a7811b1c769a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Attachment, Embed, MessageCreateSchema, MessageType } from "@fosscord/util*";

export interface MessageOptions extends MessageCreateSchema {
    id?: string;
    type?: MessageType;
    pinned?: boolean;
    author_id?: string;
    webhook_id?: string;
    application_id?: string;
    embeds?: Embed[];
    channel_id?: string;
    attachments?: Attachment[];
    edited_timestamp?: Date;
    timestamp?: Date;
}