mezon-js 2.8.52 → 2.8.53
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 +4 -4
- package/client.ts +4 -4
- package/dist/api.gen.d.ts +4 -4
- package/dist/client.d.ts +2 -2
- package/dist/mezon-js.cjs.js +2 -2
- package/dist/mezon-js.esm.mjs +2 -2
- package/package.json +1 -1
package/api.gen.ts
CHANGED
|
@@ -459,7 +459,7 @@ export interface ApiChannelDescription {
|
|
|
459
459
|
//
|
|
460
460
|
count_mess_unread?: number;
|
|
461
461
|
//
|
|
462
|
-
|
|
462
|
+
create_time_seconds?: number;
|
|
463
463
|
//creator ID.
|
|
464
464
|
creator_id?: string;
|
|
465
465
|
//
|
|
@@ -481,7 +481,7 @@ export interface ApiChannelDescription {
|
|
|
481
481
|
//The channel type.
|
|
482
482
|
type?: number;
|
|
483
483
|
//
|
|
484
|
-
|
|
484
|
+
update_time_seconds?: number;
|
|
485
485
|
//
|
|
486
486
|
user_id?: Array<string>;
|
|
487
487
|
//
|
|
@@ -517,7 +517,7 @@ export interface ApiChannelMessage {
|
|
|
517
517
|
//The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
|
518
518
|
create_time?: string;
|
|
519
519
|
//
|
|
520
|
-
|
|
520
|
+
create_time_seconds?: number;
|
|
521
521
|
//
|
|
522
522
|
display_name?: string;
|
|
523
523
|
//
|
|
@@ -535,7 +535,7 @@ export interface ApiChannelMessage {
|
|
|
535
535
|
//The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
|
536
536
|
update_time?: string;
|
|
537
537
|
//
|
|
538
|
-
|
|
538
|
+
update_time_seconds?: number;
|
|
539
539
|
//The username of the message sender, if any.
|
|
540
540
|
username?: string;
|
|
541
541
|
// channel mode
|
package/client.ts
CHANGED
|
@@ -186,9 +186,9 @@ export interface ChannelMessage {
|
|
|
186
186
|
//
|
|
187
187
|
display_name?: string;
|
|
188
188
|
//
|
|
189
|
-
|
|
189
|
+
create_time_seconds?: number;
|
|
190
190
|
//
|
|
191
|
-
|
|
191
|
+
update_time_seconds?: number;
|
|
192
192
|
//
|
|
193
193
|
mode?: number;
|
|
194
194
|
//
|
|
@@ -1046,8 +1046,8 @@ export class Client {
|
|
|
1046
1046
|
reactions: reactions,
|
|
1047
1047
|
references: references,
|
|
1048
1048
|
clan_id: m.clan_id,
|
|
1049
|
-
|
|
1050
|
-
|
|
1049
|
+
create_time_seconds: m.create_time_seconds,
|
|
1050
|
+
update_time_seconds: m.update_time_seconds,
|
|
1051
1051
|
})
|
|
1052
1052
|
});
|
|
1053
1053
|
return Promise.resolve(result);
|
package/dist/api.gen.d.ts
CHANGED
|
@@ -266,7 +266,7 @@ export interface ApiChannelDescription {
|
|
|
266
266
|
channel_private?: number;
|
|
267
267
|
clan_id?: string;
|
|
268
268
|
count_mess_unread?: number;
|
|
269
|
-
|
|
269
|
+
create_time_seconds?: number;
|
|
270
270
|
creator_id?: string;
|
|
271
271
|
creator_name?: string;
|
|
272
272
|
last_pin_message?: string;
|
|
@@ -277,7 +277,7 @@ export interface ApiChannelDescription {
|
|
|
277
277
|
parrent_id?: string;
|
|
278
278
|
status?: number;
|
|
279
279
|
type?: number;
|
|
280
|
-
|
|
280
|
+
update_time_seconds?: number;
|
|
281
281
|
user_id?: Array<string>;
|
|
282
282
|
usernames?: string;
|
|
283
283
|
}
|
|
@@ -296,7 +296,7 @@ export interface ApiChannelMessage {
|
|
|
296
296
|
code: number;
|
|
297
297
|
content: string;
|
|
298
298
|
create_time?: string;
|
|
299
|
-
|
|
299
|
+
create_time_seconds?: number;
|
|
300
300
|
display_name?: string;
|
|
301
301
|
mentions?: string;
|
|
302
302
|
message_id: string;
|
|
@@ -305,7 +305,7 @@ export interface ApiChannelMessage {
|
|
|
305
305
|
references?: string;
|
|
306
306
|
sender_id: string;
|
|
307
307
|
update_time?: string;
|
|
308
|
-
|
|
308
|
+
update_time_seconds?: number;
|
|
309
309
|
username?: string;
|
|
310
310
|
mode?: number;
|
|
311
311
|
hideEditted?: boolean;
|
package/dist/client.d.ts
CHANGED
|
@@ -67,8 +67,8 @@ export interface ChannelMessage {
|
|
|
67
67
|
clan_nick?: string;
|
|
68
68
|
clan_avatar?: string;
|
|
69
69
|
display_name?: string;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
create_time_seconds?: number;
|
|
71
|
+
update_time_seconds?: number;
|
|
72
72
|
mode?: number;
|
|
73
73
|
message_id?: string;
|
|
74
74
|
hideEditted?: boolean;
|
package/dist/mezon-js.cjs.js
CHANGED
|
@@ -5724,8 +5724,8 @@ var Client = class {
|
|
|
5724
5724
|
reactions,
|
|
5725
5725
|
references,
|
|
5726
5726
|
clan_id: m.clan_id,
|
|
5727
|
-
|
|
5728
|
-
|
|
5727
|
+
create_time_seconds: m.create_time_seconds,
|
|
5728
|
+
update_time_seconds: m.update_time_seconds
|
|
5729
5729
|
});
|
|
5730
5730
|
});
|
|
5731
5731
|
return Promise.resolve(result);
|
package/dist/mezon-js.esm.mjs
CHANGED
|
@@ -5695,8 +5695,8 @@ var Client = class {
|
|
|
5695
5695
|
reactions,
|
|
5696
5696
|
references,
|
|
5697
5697
|
clan_id: m.clan_id,
|
|
5698
|
-
|
|
5699
|
-
|
|
5698
|
+
create_time_seconds: m.create_time_seconds,
|
|
5699
|
+
update_time_seconds: m.update_time_seconds
|
|
5700
5700
|
});
|
|
5701
5701
|
});
|
|
5702
5702
|
return Promise.resolve(result);
|