feat: add user property to MessageResponse interface

This commit is contained in:
SauceyRed 2025-05-29 04:26:34 +02:00
parent b164abeda9
commit 46483c336a
Signed by: sauceyred
GPG key ID: 270B096EF6E9A462

View file

@ -32,10 +32,11 @@ export interface ChannelResponse {
} }
export interface MessageResponse { export interface MessageResponse {
uuid: string uuid: string,
channel_uuid: string channel_uuid: string,
user_uuid: string user_uuid: string,
message: string message: string,
user: UserResponse
} }
export interface InviteResponse { export interface InviteResponse {
@ -49,6 +50,6 @@ export interface UserResponse {
username: string, username: string,
display_name: string | null, display_name: string | null,
avatar: string | null, avatar: string | null,
email: string, email?: string,
email_verified: boolean email_verified?: boolean
} }