@onyx-p/imlib-web 1.0.20 → 1.0.21
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ConversationType, MessageDirection } from './statusTypes';
|
1
|
+
import { ConversationType, MessageDirection, SentStatus } from './statusTypes';
|
2
2
|
/**
|
3
3
|
* 消息数据
|
4
4
|
*/
|
@@ -81,7 +81,7 @@ export default interface IReceivedMessage {
|
|
81
81
|
*/
|
82
82
|
messageId?: number;
|
83
83
|
/**
|
84
|
-
*
|
84
|
+
* 消息发送状态
|
85
85
|
*/
|
86
|
-
sentStatus
|
86
|
+
sentStatus: SentStatus;
|
87
87
|
}
|
@@ -344,6 +344,23 @@ export interface IUserProfile {
|
|
344
344
|
*/
|
345
345
|
portrait?: string;
|
346
346
|
}
|
347
|
+
/**
|
348
|
+
* 发送状态
|
349
|
+
*/
|
350
|
+
export declare enum SentStatus {
|
351
|
+
/**
|
352
|
+
* 发送中
|
353
|
+
*/
|
354
|
+
SENDING = 10,
|
355
|
+
/**
|
356
|
+
* 发送失败
|
357
|
+
*/
|
358
|
+
FAILED = 20,
|
359
|
+
/**
|
360
|
+
* 已发送成功
|
361
|
+
*/
|
362
|
+
SENT = 30
|
363
|
+
}
|
347
364
|
export declare enum ReceivedStatus {
|
348
365
|
/**
|
349
366
|
* 已读
|