easemob-websdk 4.22.0-beta.0 → 4.23.0
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.
- package/Easemob-chat.d.ts +36 -0
- package/Easemob-chat.js +1 -1
- package/message/audio.d.ts +2 -0
- package/message/cmd.d.ts +4 -0
- package/message/combine.d.ts +4 -0
- package/message/custom.d.ts +4 -0
- package/message/file.d.ts +2 -0
- package/message/img.d.ts +2 -0
- package/message/text.d.ts +4 -0
- package/message/video.d.ts +2 -0
- package/miniCore/miniCore.js +1 -1
- package/miniProgram/Easemob-chat.js +1 -1
- package/package.json +1 -1
- package/types/message.d.ts +34 -0
- package/uniApp/Easemob-chat.js +1 -1
- package/circleSdk/Easemob-chat.d.ts +0 -8066
- package/circleSdk/Easemob-chat.js +0 -1
package/Easemob-chat.d.ts
CHANGED
|
@@ -6969,6 +6969,8 @@ export declare namespace EasemobChat {
|
|
|
6969
6969
|
modifiedInfo?: ModifiedMsgInfo;
|
|
6970
6970
|
/** The list of message recipients. */
|
|
6971
6971
|
receiverList?: string[];
|
|
6972
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
6973
|
+
webhookEnv?: string;
|
|
6972
6974
|
/** Has the message been read (only single chat messages have this field). */
|
|
6973
6975
|
isRead?: boolean;
|
|
6974
6976
|
/** Has the message been delivered (only single chat messages have this field). */
|
|
@@ -7001,6 +7003,8 @@ export declare namespace EasemobChat {
|
|
|
7001
7003
|
deliverOnlineOnly?: boolean;
|
|
7002
7004
|
/** The list of message recipients. */
|
|
7003
7005
|
receiverList?: string[];
|
|
7006
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7007
|
+
webhookEnv?: string;
|
|
7004
7008
|
}
|
|
7005
7009
|
|
|
7006
7010
|
interface StreamChunk {
|
|
@@ -7073,6 +7077,8 @@ export declare namespace EasemobChat {
|
|
|
7073
7077
|
modifiedInfo?: ModifiedMsgInfo;
|
|
7074
7078
|
/** The list of message recipients. */
|
|
7075
7079
|
receiverList?: string[];
|
|
7080
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7081
|
+
webhookEnv?: string;
|
|
7076
7082
|
/** The file URL. */
|
|
7077
7083
|
url?: string;
|
|
7078
7084
|
/** The secret key required to download the file. */
|
|
@@ -7136,6 +7142,8 @@ export declare namespace EasemobChat {
|
|
|
7136
7142
|
deliverOnlineOnly?: boolean;
|
|
7137
7143
|
/** The list of message recipients. */
|
|
7138
7144
|
receiverList?: string[];
|
|
7145
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7146
|
+
webhookEnv?: string;
|
|
7139
7147
|
/** Compatibility information for merging messages. */
|
|
7140
7148
|
compatibleText: string;
|
|
7141
7149
|
/** The title of the merged messages. */
|
|
@@ -7223,6 +7231,8 @@ export declare namespace EasemobChat {
|
|
|
7223
7231
|
* - (Default) `false`: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
|
|
7224
7232
|
*/
|
|
7225
7233
|
deliverOnlineOnly?: boolean;
|
|
7234
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7235
|
+
webhookEnv?: string;
|
|
7226
7236
|
/** Message modified info. */
|
|
7227
7237
|
modifiedInfo?: ModifiedMsgInfo;
|
|
7228
7238
|
/** The list of message recipients. */
|
|
@@ -7261,6 +7271,8 @@ export declare namespace EasemobChat {
|
|
|
7261
7271
|
deliverOnlineOnly?: boolean;
|
|
7262
7272
|
/** The list of message recipients. */
|
|
7263
7273
|
receiverList?: string[];
|
|
7274
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7275
|
+
webhookEnv?: string;
|
|
7264
7276
|
}
|
|
7265
7277
|
|
|
7266
7278
|
interface CustomParameters {
|
|
@@ -7343,6 +7355,8 @@ export declare namespace EasemobChat {
|
|
|
7343
7355
|
deliverOnlineOnly?: boolean;
|
|
7344
7356
|
/** The list of message recipients. */
|
|
7345
7357
|
receiverList?: string[];
|
|
7358
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7359
|
+
webhookEnv?: string;
|
|
7346
7360
|
/** Message modified info. */
|
|
7347
7361
|
modifiedInfo?: ModifiedMsgInfo;
|
|
7348
7362
|
/** Has the message been read (only single chat messages have this field). */
|
|
@@ -7379,6 +7393,8 @@ export declare namespace EasemobChat {
|
|
|
7379
7393
|
deliverOnlineOnly?: boolean;
|
|
7380
7394
|
/** The list of message recipients. */
|
|
7381
7395
|
receiverList?: string[];
|
|
7396
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7397
|
+
webhookEnv?: string;
|
|
7382
7398
|
}
|
|
7383
7399
|
|
|
7384
7400
|
interface LocationParameters {
|
|
@@ -7467,6 +7483,8 @@ export declare namespace EasemobChat {
|
|
|
7467
7483
|
* - (Default) `false`: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
|
|
7468
7484
|
*/
|
|
7469
7485
|
deliverOnlineOnly?: boolean;
|
|
7486
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7487
|
+
webhookEnv?: string;
|
|
7470
7488
|
/** Message modified info. */
|
|
7471
7489
|
modifiedInfo?: ModifiedMsgInfo;
|
|
7472
7490
|
/** The list of message recipients. */
|
|
@@ -7507,6 +7525,8 @@ export declare namespace EasemobChat {
|
|
|
7507
7525
|
* - (Default) `false`: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
|
|
7508
7526
|
*/
|
|
7509
7527
|
deliverOnlineOnly?: boolean;
|
|
7528
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7529
|
+
webhookEnv?: string;
|
|
7510
7530
|
/** The list of message recipients. */
|
|
7511
7531
|
receiverList?: string[];
|
|
7512
7532
|
}
|
|
@@ -7619,6 +7639,8 @@ export declare namespace EasemobChat {
|
|
|
7619
7639
|
* - (Default) `false`: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
|
|
7620
7640
|
*/
|
|
7621
7641
|
deliverOnlineOnly?: boolean;
|
|
7642
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7643
|
+
webhookEnv?: string;
|
|
7622
7644
|
/** Message modified info. */
|
|
7623
7645
|
modifiedInfo?: ModifiedMsgInfo;
|
|
7624
7646
|
/** Has the message been read (only single chat messages have this field). */
|
|
@@ -7674,6 +7696,8 @@ export declare namespace EasemobChat {
|
|
|
7674
7696
|
deliverOnlineOnly?: boolean;
|
|
7675
7697
|
/** The list of message recipients. */
|
|
7676
7698
|
receiverList?: string[];
|
|
7699
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7700
|
+
webhookEnv?: string;
|
|
7677
7701
|
}
|
|
7678
7702
|
|
|
7679
7703
|
interface ImgParameters {
|
|
@@ -7767,6 +7791,8 @@ export declare namespace EasemobChat {
|
|
|
7767
7791
|
deliverOnlineOnly?: boolean;
|
|
7768
7792
|
/** The list of message recipients. */
|
|
7769
7793
|
receiverList?: string[];
|
|
7794
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7795
|
+
webhookEnv?: string;
|
|
7770
7796
|
/** The thumbnail width. */
|
|
7771
7797
|
thumbnailWidth?: number;
|
|
7772
7798
|
/** The thumbnail height. */
|
|
@@ -7867,6 +7893,8 @@ export declare namespace EasemobChat {
|
|
|
7867
7893
|
deliverOnlineOnly?: boolean;
|
|
7868
7894
|
/** The list of message recipients. */
|
|
7869
7895
|
receiverList?: string[];
|
|
7896
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
7897
|
+
webhookEnv?: string;
|
|
7870
7898
|
/** The thumbnail width. */
|
|
7871
7899
|
thumbnailWidth?: number;
|
|
7872
7900
|
/** The thumbnail height. */
|
|
@@ -7971,6 +7999,8 @@ export declare namespace EasemobChat {
|
|
|
7971
7999
|
modifiedInfo?: ModifiedMsgInfo;
|
|
7972
8000
|
/** The list of message recipients. */
|
|
7973
8001
|
receiverList?: string[];
|
|
8002
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
8003
|
+
webhookEnv?: string;
|
|
7974
8004
|
/** Has the message been read (only single chat messages have this field). */
|
|
7975
8005
|
isRead?: boolean;
|
|
7976
8006
|
/** Has the message been delivered (only single chat messages have this field). */
|
|
@@ -8026,6 +8056,8 @@ export declare namespace EasemobChat {
|
|
|
8026
8056
|
deliverOnlineOnly?: boolean;
|
|
8027
8057
|
/** The list of message recipients. */
|
|
8028
8058
|
receiverList?: string[];
|
|
8059
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
8060
|
+
webhookEnv?: string;
|
|
8029
8061
|
}
|
|
8030
8062
|
|
|
8031
8063
|
interface VideoParameters {
|
|
@@ -8126,6 +8158,8 @@ export declare namespace EasemobChat {
|
|
|
8126
8158
|
modifiedInfo?: ModifiedMsgInfo;
|
|
8127
8159
|
/** The list of message recipients. */
|
|
8128
8160
|
receiverList?: string[];
|
|
8161
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
8162
|
+
webhookEnv?: string;
|
|
8129
8163
|
/** Has the message been read (only single chat messages have this field). */
|
|
8130
8164
|
isRead?: boolean;
|
|
8131
8165
|
/** Has the message been delivered (only single chat messages have this field). */
|
|
@@ -8183,6 +8217,8 @@ export declare namespace EasemobChat {
|
|
|
8183
8217
|
deliverOnlineOnly?: boolean;
|
|
8184
8218
|
/** The list of message recipients. */
|
|
8185
8219
|
receiverList?: string[];
|
|
8220
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
8221
|
+
webhookEnv?: string;
|
|
8186
8222
|
}
|
|
8187
8223
|
|
|
8188
8224
|
interface ReceivedMsgBody {
|