feat: add properties for whether a message is a reply or user is mentioned and message response to MessageProps
This commit is contained in:
parent
84b7c01251
commit
21f441bccf
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
import type { UserResponse } from "./interfaces";
|
import type { MessageResponse, UserResponse } from "./interfaces";
|
||||||
|
|
||||||
export interface MessageProps {
|
export interface MessageProps {
|
||||||
class?: string,
|
class?: string,
|
||||||
|
@ -14,4 +14,7 @@ export interface MessageProps {
|
||||||
replyingTo?: boolean,
|
replyingTo?: boolean,
|
||||||
editing?: boolean,
|
editing?: boolean,
|
||||||
me: UserResponse
|
me: UserResponse
|
||||||
|
message: MessageResponse,
|
||||||
|
replyMessage?: MessageResponse
|
||||||
|
isMentioned?: boolean,
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue