feat: add utils to reply to and edit messages

This commit is contained in:
SauceyRed 2025-07-10 23:58:00 +02:00
parent b51efc01e9
commit b28920898c
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
3 changed files with 46 additions and 0 deletions

17
types/props.ts Normal file
View 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
}