feat: chat with infinite scroll

This commit is contained in:
2025-04-06 11:43:45 +04:00
parent 23f0cdc081
commit 2f4f3c3125
9 changed files with 152 additions and 110 deletions

View File

@@ -4,12 +4,14 @@
/* eslint-disable */
import type { MessageFileSchema } from './MessageFileSchema';
import type { TgUserSchema } from './TgUserSchema';
import type { UserSchema } from './UserSchema';
export type MessageSchema = {
text: string;
chatId: number;
id: number;
createdAt: string;
tgSender: (TgUserSchema | null);
crmSender: (UserSchema | null);
status: string;
isEdited: boolean;
file?: (MessageFileSchema | null);