21 lines
No EOL
474 B
TypeScript
21 lines
No EOL
474 B
TypeScript
import type { MessageResponse, UserResponse } from "./interfaces";
|
|
|
|
export interface MessageProps {
|
|
class?: string,
|
|
img?: string | null,
|
|
author: UserResponse
|
|
text: string,
|
|
timestamp: number,
|
|
format: "12" | "24",
|
|
type: "normal" | "grouped",
|
|
marginBottom: boolean,
|
|
authorColor: string,
|
|
last: boolean,
|
|
messageId: string,
|
|
replyingTo?: boolean,
|
|
editing?: boolean,
|
|
me: UserResponse
|
|
message: MessageResponse,
|
|
replyMessage?: MessageResponse
|
|
isMentioned?: boolean,
|
|
} |