mezon-js 2.8.10 → 2.8.11
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 -0
- package/dist/api.gen.d.ts +2 -0
- package/package.json +1 -1
- package/socket.ts +1 -1
package/api.gen.ts
CHANGED
package/dist/api.gen.d.ts
CHANGED
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1247,7 +1247,7 @@ export class DefaultSocket implements Socket {
|
|
1247
1247
|
}
|
1248
1248
|
|
1249
1249
|
async writeChatMessage(clan_id: string, channel_id: string, mode: number, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?:Boolean, notifi_content?: any ): Promise<ChannelMessageAck> {
|
1250
|
-
const response = await this.send({channel_message_send: {clan_id: clan_id, channel_id: channel_id, mode:mode, content: content, mentions: mentions, attachments: attachments, references: references, anonymous_message: anonymous_message, mention_everyone:mention_everyone, notifi_content:notifi_content}});
|
1250
|
+
const response = await this.send({channel_message_send: {clan_id: clan_id, channel_id: channel_id, mode: mode, content: content, mentions: mentions, attachments: attachments, references: references, anonymous_message: anonymous_message, mention_everyone:mention_everyone, notifi_content:notifi_content}});
|
1251
1251
|
return response.channel_message_ack;
|
1252
1252
|
}
|
1253
1253
|
|