easemob-websdk 4.22.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easemob-websdk",
3
- "version": "4.22.0",
3
+ "version": "4.23.0",
4
4
  "description": "Easemob chat web sdk",
5
5
  "main": "Easemob-chat.js",
6
6
  "typings": "Easemob-chat.d.ts",
@@ -124,6 +124,8 @@ interface TextMsgBody {
124
124
  broadcast?: boolean;
125
125
  isContentReplaced?: boolean;
126
126
  deliverOnlineOnly?: boolean;
127
+ /** The webhookEnv field in the sending message protocol. */
128
+ webhookEnv?: string;
127
129
  modifiedInfo?: ModifiedMsgInfo;
128
130
  }
129
131
  interface CreateTextMsgParameters {
@@ -141,6 +143,8 @@ interface CreateTextMsgParameters {
141
143
  ext?: {
142
144
  [key: string]: any;
143
145
  };
146
+ /** The webhookEnv field in the sending message protocol. */
147
+ webhookEnv?: string;
144
148
  }
145
149
  interface CmdMsgSetParameters {
146
150
  chatType: ChatType;
@@ -180,6 +184,8 @@ interface CmdMsgBody {
180
184
  broadcast?: boolean;
181
185
  isContentReplaced?: boolean;
182
186
  deliverOnlineOnly?: boolean;
187
+ /** The webhookEnv field in the sending message protocol. */
188
+ webhookEnv?: string;
183
189
  modifiedInfo?: ModifiedMsgInfo;
184
190
  }
185
191
  interface CreateCmdMsgParameters {
@@ -197,6 +203,8 @@ interface CreateCmdMsgParameters {
197
203
  ext?: {
198
204
  [key: string]: any;
199
205
  };
206
+ /** The webhookEnv field in the sending message protocol. */
207
+ webhookEnv?: string;
200
208
  }
201
209
  interface CustomMsgSetParameters {
202
210
  chatType: ChatType;
@@ -245,6 +253,8 @@ interface CustomMsgBody {
245
253
  broadcast?: boolean;
246
254
  isContentReplaced?: boolean;
247
255
  deliverOnlineOnly?: boolean;
256
+ /** The webhookEnv field in the sending message protocol. */
257
+ webhookEnv?: string;
248
258
  modifiedInfo?: ModifiedMsgInfo;
249
259
  }
250
260
  interface CreateCustomMsgParameters {
@@ -266,6 +276,8 @@ interface CreateCustomMsgParameters {
266
276
  ext?: {
267
277
  [key: string]: any;
268
278
  };
279
+ /** The webhookEnv field in the sending message protocol. */
280
+ webhookEnv?: string;
269
281
  }
270
282
  interface LocationMsgSetParameters {
271
283
  chatType: ChatType;
@@ -311,6 +323,8 @@ interface LocationMsgBody {
311
323
  broadcast?: boolean;
312
324
  isContentReplaced?: boolean;
313
325
  deliverOnlineOnly?: boolean;
326
+ /** The webhookEnv field in the sending message protocol. */
327
+ webhookEnv?: string;
314
328
  modifiedInfo?: ModifiedMsgInfo;
315
329
  }
316
330
  interface CreateLocationMsgParameters {
@@ -334,6 +348,8 @@ interface CreateLocationMsgParameters {
334
348
  ext?: {
335
349
  [key: string]: any;
336
350
  };
351
+ /** The webhookEnv field in the sending message protocol. */
352
+ webhookEnv?: string;
337
353
  }
338
354
  interface ImgMsgSetParameters {
339
355
  chatType: ChatType;
@@ -381,6 +397,8 @@ interface ImgMsgBody extends ImgMsgSetParameters {
381
397
  broadcast?: boolean;
382
398
  isContentReplaced?: boolean;
383
399
  deliverOnlineOnly?: boolean;
400
+ /** The webhookEnv field in the sending message protocol. */
401
+ webhookEnv?: string;
384
402
  modifiedInfo?: ModifiedMsgInfo;
385
403
  }
386
404
  interface CreateImgMsgParameters {
@@ -421,6 +439,8 @@ interface CreateImgMsgParameters {
421
439
  /** The file name. */
422
440
  filename: string;
423
441
  };
442
+ /** The webhookEnv field in the sending message protocol. */
443
+ webhookEnv?: string;
424
444
  }
425
445
  interface AudioMsgSetParameters {
426
446
  chatType: ChatType;
@@ -467,6 +487,8 @@ interface AudioMsgBody extends AudioMsgSetParameters {
467
487
  broadcast?: boolean;
468
488
  isContentReplaced?: boolean;
469
489
  deliverOnlineOnly?: boolean;
490
+ /** The webhookEnv field in the sending message protocol. */
491
+ webhookEnv?: string;
470
492
  modifiedInfo?: ModifiedMsgInfo;
471
493
  }
472
494
  interface CreateAudioMsgParameters {
@@ -507,6 +529,8 @@ interface CreateAudioMsgParameters {
507
529
  /** The file type. */
508
530
  filename: string;
509
531
  };
532
+ /** The webhookEnv field in the sending message protocol. */
533
+ webhookEnv?: string;
510
534
  }
511
535
  interface VideoMsgSetParameters {
512
536
  chatType: ChatType;
@@ -557,6 +581,8 @@ interface VideoMsgBody extends VideoMsgSetParameters {
557
581
  broadcast?: boolean;
558
582
  isContentReplaced?: boolean;
559
583
  deliverOnlineOnly?: boolean;
584
+ /** The webhookEnv field in the sending message protocol. */
585
+ webhookEnv?: string;
560
586
  modifiedInfo?: ModifiedMsgInfo;
561
587
  }
562
588
  interface CreateVideoMsgParameters {
@@ -597,6 +623,8 @@ interface CreateVideoMsgParameters {
597
623
  /** The file name. */
598
624
  filename: string;
599
625
  };
626
+ /** The webhookEnv field in the sending message protocol. */
627
+ webhookEnv?: string;
600
628
  }
601
629
  interface FileMsgSetParameters {
602
630
  chatType: ChatType;
@@ -643,6 +671,8 @@ interface FileMsgBody extends FileMsgSetParameters {
643
671
  broadcast?: boolean;
644
672
  isContentReplaced?: boolean;
645
673
  deliverOnlineOnly?: boolean;
674
+ /** The webhookEnv field in the sending message protocol. */
675
+ webhookEnv?: string;
646
676
  modifiedInfo?: ModifiedMsgInfo;
647
677
  }
648
678
  interface CreateFileMsgParameters {
@@ -679,6 +709,8 @@ interface CreateFileMsgParameters {
679
709
  /** The file name. */
680
710
  filename: string;
681
711
  };
712
+ /** The webhookEnv field in the sending message protocol. */
713
+ webhookEnv?: string;
682
714
  }
683
715
  interface ReceivedMsgBody {
684
716
  id: string;
@@ -778,6 +810,8 @@ interface CombineMsgBody {
778
810
  deliverOnlineOnly?: boolean;
779
811
  /** The list of message recipients. */
780
812
  receiverList?: string[];
813
+ /** The webhookEnv field in the sending message protocol. */
814
+ webhookEnv?: string;
781
815
  /** The file URL. */
782
816
  url?: string;
783
817
  /** The secret key required to download the file. */