mezon-js 2.7.83 → 2.7.85
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +8 -0
- package/dist/api.gen.d.ts +4 -0
- package/dist/mezon-js.cjs.js +2 -2
- package/dist/mezon-js.esm.mjs +2 -2
- package/package.json +1 -1
- package/socket.ts +2 -2
package/api.gen.ts
CHANGED
@@ -930,6 +930,14 @@ export interface ApiMessageRef {
|
|
930
930
|
ref_type?: number;
|
931
931
|
//
|
932
932
|
message_sender_id?: string;
|
933
|
+
// original message sendre username
|
934
|
+
message_sender_username?: string;
|
935
|
+
// original message sender avatar
|
936
|
+
mesages_sender_avatar?: string;
|
937
|
+
// original sender clan nick name
|
938
|
+
message_sender_clan_nick?: string;
|
939
|
+
// original sender display name
|
940
|
+
message_sender_display_name?:string;
|
933
941
|
//
|
934
942
|
content?:string;
|
935
943
|
//
|
package/dist/api.gen.d.ts
CHANGED
@@ -534,6 +534,10 @@ export interface ApiMessageRef {
|
|
534
534
|
message_ref_id?: string;
|
535
535
|
ref_type?: number;
|
536
536
|
message_sender_id?: string;
|
537
|
+
message_sender_username?: string;
|
538
|
+
mesages_sender_avatar?: string;
|
539
|
+
message_sender_clan_nick?: string;
|
540
|
+
message_sender_display_name?: string;
|
537
541
|
content?: string;
|
538
542
|
has_attachment: boolean;
|
539
543
|
}
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -4646,8 +4646,8 @@ var _DefaultSocket = class _DefaultSocket {
|
|
4646
4646
|
clan_logo: message.channel_message.clan_logo,
|
4647
4647
|
category_name: message.channel_message.category_name,
|
4648
4648
|
username: message.channel_message.username,
|
4649
|
-
clan_nick: message.clan_nick,
|
4650
|
-
display_name: message.display_name,
|
4649
|
+
clan_nick: message.channel_message.clan_nick,
|
4650
|
+
display_name: message.channel_message.display_name,
|
4651
4651
|
content,
|
4652
4652
|
reactions,
|
4653
4653
|
mentions,
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -4617,8 +4617,8 @@ var _DefaultSocket = class _DefaultSocket {
|
|
4617
4617
|
clan_logo: message.channel_message.clan_logo,
|
4618
4618
|
category_name: message.channel_message.category_name,
|
4619
4619
|
username: message.channel_message.username,
|
4620
|
-
clan_nick: message.clan_nick,
|
4621
|
-
display_name: message.display_name,
|
4620
|
+
clan_nick: message.channel_message.clan_nick,
|
4621
|
+
display_name: message.channel_message.display_name,
|
4622
4622
|
content,
|
4623
4623
|
reactions,
|
4624
4624
|
mentions,
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -802,8 +802,8 @@ export class DefaultSocket implements Socket {
|
|
802
802
|
clan_logo: message.channel_message.clan_logo,
|
803
803
|
category_name: message.channel_message.category_name,
|
804
804
|
username: message.channel_message.username,
|
805
|
-
clan_nick: message.clan_nick,
|
806
|
-
display_name: message.display_name,
|
805
|
+
clan_nick: message.channel_message.clan_nick,
|
806
|
+
display_name: message.channel_message.display_name,
|
807
807
|
content: content,
|
808
808
|
reactions: reactions,
|
809
809
|
mentions: mentions,
|