Удаление сообщений

This commit is contained in:
Халимов Рустам
2026-04-19 21:05:56 +03:00
parent 8399d32490
commit 70acad56fb
5 changed files with 581 additions and 584 deletions

View File

@@ -6,7 +6,7 @@ export interface UserBasic {
displayName: string;
avatarUrl: string | null;
// Fallbacks for compatibility
username?: string;
username?: string;
avatar?: string | null;
}
@@ -51,11 +51,11 @@ export interface Reaction {
id: string;
emoji: string;
userId: string;
user: {
id: string;
username: string;
user: {
id: string;
username: string;
userName?: string;
displayName: string;
displayName: string;
avatar?: string | null;
avatarUrl?: string | null;
};
@@ -84,6 +84,7 @@ export interface Message {
storyMediaType?: string | null;
isEdited: boolean;
isDeleted: boolean;
isDeletedForUser?: boolean;
scheduledAt?: string | null;
createdAt: string;
updatedAt?: string;
@@ -95,9 +96,9 @@ export interface Message {
isDeleted?: boolean;
quote?: string | null;
media?: MediaItem[];
sender: {
id: string;
username: string;
sender: {
id: string;
username: string;
userName?: string;
displayName: string;
avatar?: string | null;