feat: add utils to reply to and edit messages
This commit is contained in:
parent
b51efc01e9
commit
b28920898c
3 changed files with 46 additions and 0 deletions
17
types/props.ts
Normal file
17
types/props.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import type { 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,
|
||||
last: boolean,
|
||||
messageId: string,
|
||||
replyingTo?: boolean,
|
||||
editing?: boolean,
|
||||
me: UserResponse
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue