mezon-js 2.9.50 → 2.9.51
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +5 -5
- package/client.ts +4 -4
- package/dist/api.gen.d.ts +5 -5
- package/dist/client.d.ts +2 -2
- package/dist/mezon-js.cjs.js +4 -4
- package/dist/mezon-js.esm.mjs +4 -4
- package/package.json +1 -1
- package/socket.ts +2 -2
package/api.gen.ts
CHANGED
@@ -641,7 +641,7 @@ export interface ApiChannelDescription {
|
|
641
641
|
//
|
642
642
|
count_mess_unread?: number;
|
643
643
|
//
|
644
|
-
|
644
|
+
create_time_seconds?: number;
|
645
645
|
//creator ID.
|
646
646
|
creator_id?: string;
|
647
647
|
//
|
@@ -665,7 +665,7 @@ export interface ApiChannelDescription {
|
|
665
665
|
//The channel type.
|
666
666
|
type?: number;
|
667
667
|
//
|
668
|
-
|
668
|
+
update_time_seconds?: number;
|
669
669
|
//
|
670
670
|
user_id?: Array<string>;
|
671
671
|
//
|
@@ -707,7 +707,7 @@ export interface ApiChannelMessage {
|
|
707
707
|
//The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
708
708
|
create_time?: string;
|
709
709
|
//
|
710
|
-
|
710
|
+
create_time_seconds?: number;
|
711
711
|
//
|
712
712
|
display_name?: string;
|
713
713
|
//
|
@@ -725,7 +725,7 @@ export interface ApiChannelMessage {
|
|
725
725
|
//The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
726
726
|
update_time?: string;
|
727
727
|
//
|
728
|
-
|
728
|
+
update_time_seconds?: number;
|
729
729
|
//The username of the message sender, if any.
|
730
730
|
username?: string;
|
731
731
|
// channel mode
|
@@ -1666,7 +1666,7 @@ export interface ApiPinMessage {
|
|
1666
1666
|
//The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
1667
1667
|
create_time?: string;
|
1668
1668
|
//
|
1669
|
-
|
1669
|
+
create_time_seconds?: number;
|
1670
1670
|
//
|
1671
1671
|
id?: string;
|
1672
1672
|
//
|
package/client.ts
CHANGED
@@ -218,9 +218,9 @@ export interface ChannelMessage {
|
|
218
218
|
//
|
219
219
|
display_name?: string;
|
220
220
|
//
|
221
|
-
|
221
|
+
create_time_seconds?: number;
|
222
222
|
//
|
223
|
-
|
223
|
+
update_time_seconds?: number;
|
224
224
|
//
|
225
225
|
mode?: number;
|
226
226
|
//
|
@@ -1436,8 +1436,8 @@ export class Client {
|
|
1436
1436
|
reactions: reactions,
|
1437
1437
|
references: references,
|
1438
1438
|
clan_id: m.clan_id,
|
1439
|
-
|
1440
|
-
|
1439
|
+
create_time_seconds: m.create_time_seconds,
|
1440
|
+
update_time_seconds: m.update_time_seconds,
|
1441
1441
|
hide_editted: m.hide_editted,
|
1442
1442
|
});
|
1443
1443
|
});
|
package/dist/api.gen.d.ts
CHANGED
@@ -376,7 +376,7 @@ export interface ApiChannelDescription {
|
|
376
376
|
clan_id?: string;
|
377
377
|
clan_name?: string;
|
378
378
|
count_mess_unread?: number;
|
379
|
-
|
379
|
+
create_time_seconds?: number;
|
380
380
|
creator_id?: string;
|
381
381
|
creator_name?: string;
|
382
382
|
is_mute?: boolean;
|
@@ -388,7 +388,7 @@ export interface ApiChannelDescription {
|
|
388
388
|
parrent_id?: string;
|
389
389
|
is_online?: Array<boolean>;
|
390
390
|
type?: number;
|
391
|
-
|
391
|
+
update_time_seconds?: number;
|
392
392
|
user_id?: Array<string>;
|
393
393
|
usernames?: string;
|
394
394
|
status?: number;
|
@@ -410,7 +410,7 @@ export interface ApiChannelMessage {
|
|
410
410
|
code: number;
|
411
411
|
content: string;
|
412
412
|
create_time?: string;
|
413
|
-
|
413
|
+
create_time_seconds?: number;
|
414
414
|
display_name?: string;
|
415
415
|
mentions?: string;
|
416
416
|
message_id: string;
|
@@ -419,7 +419,7 @@ export interface ApiChannelMessage {
|
|
419
419
|
references?: string;
|
420
420
|
sender_id: string;
|
421
421
|
update_time?: string;
|
422
|
-
|
422
|
+
update_time_seconds?: number;
|
423
423
|
username?: string;
|
424
424
|
mode?: number;
|
425
425
|
hide_editted?: boolean;
|
@@ -968,7 +968,7 @@ export interface ApiPinMessage {
|
|
968
968
|
channel_id?: string;
|
969
969
|
content?: string;
|
970
970
|
create_time?: string;
|
971
|
-
|
971
|
+
create_time_seconds?: number;
|
972
972
|
id?: string;
|
973
973
|
message_id?: string;
|
974
974
|
sender_id?: string;
|
package/dist/client.d.ts
CHANGED
@@ -69,8 +69,8 @@ export interface ChannelMessage {
|
|
69
69
|
clan_nick?: string;
|
70
70
|
clan_avatar?: string;
|
71
71
|
display_name?: string;
|
72
|
-
|
73
|
-
|
72
|
+
create_time_seconds?: number;
|
73
|
+
update_time_seconds?: number;
|
74
74
|
mode?: number;
|
75
75
|
message_id?: string;
|
76
76
|
hide_editted?: boolean;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -6249,8 +6249,8 @@ var _DefaultSocket = class _DefaultSocket {
|
|
6249
6249
|
references,
|
6250
6250
|
hide_editted: message.channel_message.hide_editted,
|
6251
6251
|
is_public: message.channel_message.is_public,
|
6252
|
-
|
6253
|
-
|
6252
|
+
create_time_seconds: message.channel_message.create_time_seconds,
|
6253
|
+
update_time_seconds: message.channel_message.update_time_seconds
|
6254
6254
|
};
|
6255
6255
|
this.onchannelmessage(e);
|
6256
6256
|
} else if (message.message_typing_event) {
|
@@ -7348,8 +7348,8 @@ var Client = class {
|
|
7348
7348
|
reactions,
|
7349
7349
|
references,
|
7350
7350
|
clan_id: m.clan_id,
|
7351
|
-
|
7352
|
-
|
7351
|
+
create_time_seconds: m.create_time_seconds,
|
7352
|
+
update_time_seconds: m.update_time_seconds,
|
7353
7353
|
hide_editted: m.hide_editted
|
7354
7354
|
});
|
7355
7355
|
});
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -6220,8 +6220,8 @@ var _DefaultSocket = class _DefaultSocket {
|
|
6220
6220
|
references,
|
6221
6221
|
hide_editted: message.channel_message.hide_editted,
|
6222
6222
|
is_public: message.channel_message.is_public,
|
6223
|
-
|
6224
|
-
|
6223
|
+
create_time_seconds: message.channel_message.create_time_seconds,
|
6224
|
+
update_time_seconds: message.channel_message.update_time_seconds
|
6225
6225
|
};
|
6226
6226
|
this.onchannelmessage(e);
|
6227
6227
|
} else if (message.message_typing_event) {
|
@@ -7319,8 +7319,8 @@ var Client = class {
|
|
7319
7319
|
reactions,
|
7320
7320
|
references,
|
7321
7321
|
clan_id: m.clan_id,
|
7322
|
-
|
7323
|
-
|
7322
|
+
create_time_seconds: m.create_time_seconds,
|
7323
|
+
update_time_seconds: m.update_time_seconds,
|
7324
7324
|
hide_editted: m.hide_editted
|
7325
7325
|
});
|
7326
7326
|
});
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1151,8 +1151,8 @@ export class DefaultSocket implements Socket {
|
|
1151
1151
|
references: references,
|
1152
1152
|
hide_editted: message.channel_message.hide_editted,
|
1153
1153
|
is_public: message.channel_message.is_public,
|
1154
|
-
|
1155
|
-
|
1154
|
+
create_time_seconds: message.channel_message.create_time_seconds,
|
1155
|
+
update_time_seconds: message.channel_message.update_time_seconds,
|
1156
1156
|
};
|
1157
1157
|
this.onchannelmessage(e);
|
1158
1158
|
} else if (message.message_typing_event) {
|