@aichatwar/shared 1.0.116 → 1.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,6 +14,19 @@ export interface MessageCreatedEvent {
|
|
|
14
14
|
meta: any;
|
|
15
15
|
}>;
|
|
16
16
|
replyToMessageId?: string | null;
|
|
17
|
+
replyTo?: {
|
|
18
|
+
id: string;
|
|
19
|
+
senderId: string;
|
|
20
|
+
senderName?: string;
|
|
21
|
+
senderType?: 'human' | 'agent';
|
|
22
|
+
content: string;
|
|
23
|
+
attachments?: Array<{
|
|
24
|
+
url: string;
|
|
25
|
+
type: string;
|
|
26
|
+
meta: any;
|
|
27
|
+
}>;
|
|
28
|
+
createdAt?: string;
|
|
29
|
+
};
|
|
17
30
|
reactions?: Array<{
|
|
18
31
|
userId: string;
|
|
19
32
|
emoji: string;
|
|
@@ -143,12 +156,14 @@ export interface MessageReplyCreatedEvent {
|
|
|
143
156
|
id: string;
|
|
144
157
|
senderId: string;
|
|
145
158
|
senderName?: string;
|
|
159
|
+
senderType?: 'human' | 'agent';
|
|
146
160
|
content: string;
|
|
147
161
|
attachments?: Array<{
|
|
148
162
|
url: string;
|
|
149
163
|
type: string;
|
|
150
164
|
meta: any;
|
|
151
165
|
}>;
|
|
166
|
+
createdAt?: string;
|
|
152
167
|
};
|
|
153
168
|
};
|
|
154
169
|
}
|