14 lines
233 B
TypeScript
14 lines
233 B
TypeScript
|
import { PartialUser } from "./user.js";
|
||
|
|
||
|
export interface Message {
|
||
|
id: string;
|
||
|
channel_id: string;
|
||
|
author: PartialUser;
|
||
|
content: string | null;
|
||
|
created_at: string;
|
||
|
}
|
||
|
|
||
|
export interface CreateMessageParams {
|
||
|
content: string;
|
||
|
}
|