remove "text-based-feature" improve messages service interface implement more features for fluxer
21 lines
305 B
TypeScript
21 lines
305 B
TypeScript
export type BaseMessage = {
|
|
content: string;
|
|
};
|
|
|
|
export type BaseChannel = {
|
|
id: string;
|
|
};
|
|
|
|
export type BaseUser = {
|
|
id: string;
|
|
};
|
|
|
|
export type BaseCreateMessage =
|
|
| {
|
|
content?: string;
|
|
embeds?: unknown[] | null;
|
|
attachments?: unknown[] | null;
|
|
files?: unknown[] | null;
|
|
}
|
|
| string;
|