mezon-js 2.8.41 → 2.8.42
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/package.json +1 -1
- package/socket.ts +1 -1
package/dist/mezon-js.cjs.js
CHANGED
@@ -4991,7 +4991,7 @@ var _DefaultSocket = class _DefaultSocket {
|
|
4991
4991
|
}
|
4992
4992
|
updateChatMessage(clan_id, channel_id, mode, message_id, content, mentions, attachments, hideEditted) {
|
4993
4993
|
return __async(this, null, function* () {
|
4994
|
-
const response = yield this.send({ channel_message_update: { clan_id, channel_id, message_id, content, mentions, attachments, mode, hideEditted } });
|
4994
|
+
const response = yield this.send({ channel_message_update: { clan_id, channel_id, message_id, content, mentions, attachments, mode, hide_editted: hideEditted } });
|
4995
4995
|
return response.channel_message_ack;
|
4996
4996
|
});
|
4997
4997
|
}
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -4962,7 +4962,7 @@ var _DefaultSocket = class _DefaultSocket {
|
|
4962
4962
|
}
|
4963
4963
|
updateChatMessage(clan_id, channel_id, mode, message_id, content, mentions, attachments, hideEditted) {
|
4964
4964
|
return __async(this, null, function* () {
|
4965
|
-
const response = yield this.send({ channel_message_update: { clan_id, channel_id, message_id, content, mentions, attachments, mode, hideEditted } });
|
4965
|
+
const response = yield this.send({ channel_message_update: { clan_id, channel_id, message_id, content, mentions, attachments, mode, hide_editted: hideEditted } });
|
4966
4966
|
return response.channel_message_ack;
|
4967
4967
|
});
|
4968
4968
|
}
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1322,7 +1322,7 @@ export class DefaultSocket implements Socket {
|
|
1322
1322
|
}
|
1323
1323
|
|
1324
1324
|
async updateChatMessage(clan_id: string, channel_id: string, mode: number, message_id : string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, hideEditted?: boolean): Promise<ChannelMessageAck> {
|
1325
|
-
const response = await this.send({channel_message_update: {clan_id: clan_id, channel_id: channel_id, message_id: message_id, content: content, mentions: mentions, attachments: attachments, mode: mode,
|
1325
|
+
const response = await this.send({channel_message_update: {clan_id: clan_id, channel_id: channel_id, message_id: message_id, content: content, mentions: mentions, attachments: attachments, mode: mode, hide_editted: hideEditted}});
|
1326
1326
|
return response.channel_message_ack;
|
1327
1327
|
}
|
1328
1328
|
|