mezon-js 2.8.34 → 2.8.35

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/api.gen.ts CHANGED
@@ -953,15 +953,15 @@ export interface ApiMessageAttachment {
953
953
  //
954
954
  width?: number;
955
955
  /** The channel this message belongs to. */
956
- channel_id:string;
956
+ channel_id?:string;
957
957
  // The mode
958
- mode: number;
958
+ mode?: number;
959
959
  // The channel label
960
- channel_label: string;
960
+ channel_label?: string;
961
961
  /** The message that user react */
962
- message_id: string;
962
+ message_id?: string;
963
963
  /** Message sender, usually a user ID. */
964
- sender_id: string;
964
+ sender_id?: string;
965
965
  }
966
966
 
967
967
  /** */
@@ -991,15 +991,15 @@ export interface ApiMessageMention {
991
991
  // end position
992
992
  e?: number;
993
993
  /** The channel this message belongs to. */
994
- channel_id:string;
994
+ channel_id?:string;
995
995
  // The mode
996
- mode: number;
996
+ mode?: number;
997
997
  // The channel label
998
- channel_label: string;
998
+ channel_label?: string;
999
999
  /** The message that user react */
1000
- message_id: string;
1000
+ message_id?: string;
1001
1001
  /** Message sender, usually a user ID. */
1002
- sender_id: string;
1002
+ sender_id?: string;
1003
1003
  }
1004
1004
 
1005
1005
  /** */
package/client.ts CHANGED
@@ -1038,7 +1038,7 @@ export class Client {
1038
1038
  var result: ChannelMessageList = {
1039
1039
  messages: [],
1040
1040
  last_seen_message: response.last_seen_message,
1041
- last_sent_message: response.last_sent_message
1041
+ last_sent_message: response.last_sent_message
1042
1042
  };
1043
1043
 
1044
1044
  if (response.messages == null) {
package/dist/api.gen.d.ts CHANGED
@@ -548,13 +548,13 @@ export interface ApiMessageAttachment {
548
548
  url?: string;
549
549
  width?: number;
550
550
  /** The channel this message belongs to. */
551
- channel_id: string;
552
- mode: number;
553
- channel_label: string;
551
+ channel_id?: string;
552
+ mode?: number;
553
+ channel_label?: string;
554
554
  /** The message that user react */
555
- message_id: string;
555
+ message_id?: string;
556
556
  /** Message sender, usually a user ID. */
557
- sender_id: string;
557
+ sender_id?: string;
558
558
  }
559
559
  /** */
560
560
  export interface ApiMessageDeleted {
@@ -572,13 +572,13 @@ export interface ApiMessageMention {
572
572
  s?: number;
573
573
  e?: number;
574
574
  /** The channel this message belongs to. */
575
- channel_id: string;
576
- mode: number;
577
- channel_label: string;
575
+ channel_id?: string;
576
+ mode?: number;
577
+ channel_label?: string;
578
578
  /** The message that user react */
579
- message_id: string;
579
+ message_id?: string;
580
580
  /** Message sender, usually a user ID. */
581
- sender_id: string;
581
+ sender_id?: string;
582
582
  }
583
583
  /** */
584
584
  export interface ApiMessageReaction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.34",
3
+ "version": "2.8.35",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },