Implement message sending timeout, failed state, retry

This commit is contained in:
2025-09-28 16:54:42 +03:00
Unverified
parent 2f31b15dea
commit 607ac91e5a
9 changed files with 368 additions and 25 deletions
+9
View File
@@ -64,6 +64,15 @@ export interface Message {
runtimeData?: {
dmEnvelope?: DmEnvelope;
sendingState?: {
status: 'sending' | 'sent' | 'failed';
tempId?: string; // Temporary ID for tracking until server confirms
retryData?: {
content: string;
replyToId?: number;
files?: File[];
};
};
}
}