mezon-js 2.9.27 → 2.9.29
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +2 -0
- package/dist/api.gen.d.ts +1 -0
- package/dist/mezon-js.cjs.js +3 -1
- package/dist/mezon-js.esm.mjs +3 -1
- package/package.json +1 -1
- package/socket.ts +3 -1
package/api.gen.ts
CHANGED
package/dist/api.gen.d.ts
CHANGED
@@ -334,6 +334,7 @@ export interface ApiChannelDescription {
|
|
334
334
|
create_time_seconds?: number;
|
335
335
|
creator_id?: string;
|
336
336
|
creator_name?: string;
|
337
|
+
is_mute?: boolean;
|
337
338
|
last_pin_message?: string;
|
338
339
|
last_seen_message?: ApiChannelMessageHeader;
|
339
340
|
last_sent_message?: ApiChannelMessageHeader;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -5947,7 +5947,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5947
5947
|
attachments,
|
5948
5948
|
references,
|
5949
5949
|
hide_editted: message.channel_message.hide_editted,
|
5950
|
-
is_public: message.channel_message.is_public
|
5950
|
+
is_public: message.channel_message.is_public,
|
5951
|
+
create_time_seconds: message.create_time_seconds,
|
5952
|
+
update_time_seconds: message.update_time_seconds
|
5951
5953
|
};
|
5952
5954
|
this.onchannelmessage(e);
|
5953
5955
|
} else if (message.message_typing_event) {
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -5918,7 +5918,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5918
5918
|
attachments,
|
5919
5919
|
references,
|
5920
5920
|
hide_editted: message.channel_message.hide_editted,
|
5921
|
-
is_public: message.channel_message.is_public
|
5921
|
+
is_public: message.channel_message.is_public,
|
5922
|
+
create_time_seconds: message.create_time_seconds,
|
5923
|
+
update_time_seconds: message.update_time_seconds
|
5922
5924
|
};
|
5923
5925
|
this.onchannelmessage(e);
|
5924
5926
|
} else if (message.message_typing_event) {
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1182,7 +1182,9 @@ export class DefaultSocket implements Socket {
|
|
1182
1182
|
attachments: attachments,
|
1183
1183
|
references: references,
|
1184
1184
|
hide_editted: message.channel_message.hide_editted,
|
1185
|
-
is_public: message.channel_message.is_public
|
1185
|
+
is_public: message.channel_message.is_public,
|
1186
|
+
create_time_seconds: message.create_time_seconds,
|
1187
|
+
update_time_seconds: message.update_time_seconds,
|
1186
1188
|
};
|
1187
1189
|
this.onchannelmessage(e);
|
1188
1190
|
} else if (message.message_typing_event) {
|