mezon-js 2.8.68 → 2.8.70
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +1 -1
- package/dist/api.gen.d.ts +1 -1
- package/dist/mezon-js.cjs.js +2 -2
- package/dist/mezon-js.esm.mjs +2 -2
- package/dist/socket.d.ts +1 -1
- package/package.json +1 -1
- package/socket.ts +2 -2
package/api.gen.ts
CHANGED
package/dist/api.gen.d.ts
CHANGED
@@ -281,7 +281,7 @@ export interface ApiChannelDescription {
|
|
281
281
|
meeting_code?: string;
|
282
282
|
meeting_uri?: string;
|
283
283
|
parrent_id?: string;
|
284
|
-
|
284
|
+
is_online?: Array<boolean>;
|
285
285
|
type?: number;
|
286
286
|
update_time_seconds?: number;
|
287
287
|
user_id?: Array<string>;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -5175,9 +5175,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5175
5175
|
return response.message_reaction_event;
|
5176
5176
|
});
|
5177
5177
|
}
|
5178
|
-
writeMessageTyping(clan_id, channel_id, mode) {
|
5178
|
+
writeMessageTyping(clan_id, channel_id, mode, is_public) {
|
5179
5179
|
return __async(this, null, function* () {
|
5180
|
-
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode } });
|
5180
|
+
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode, is_public } });
|
5181
5181
|
return response.message_typing_event;
|
5182
5182
|
});
|
5183
5183
|
}
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -5146,9 +5146,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5146
5146
|
return response.message_reaction_event;
|
5147
5147
|
});
|
5148
5148
|
}
|
5149
|
-
writeMessageTyping(clan_id, channel_id, mode) {
|
5149
|
+
writeMessageTyping(clan_id, channel_id, mode, is_public) {
|
5150
5150
|
return __async(this, null, function* () {
|
5151
|
-
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode } });
|
5151
|
+
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode, is_public } });
|
5152
5152
|
return response.message_typing_event;
|
5153
5153
|
});
|
5154
5154
|
}
|
package/dist/socket.d.ts
CHANGED
@@ -671,7 +671,7 @@ export declare class DefaultSocket implements Socket {
|
|
671
671
|
updateStatus(status?: string): Promise<void>;
|
672
672
|
writeChatMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?: Boolean, avatar?: string): Promise<ChannelMessageAck>;
|
673
673
|
writeMessageReaction(id: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, emoji_id: string, emoji: string, count: number, message_sender_id: string, action_delete: boolean): Promise<ApiMessageReaction>;
|
674
|
-
writeMessageTyping(clan_id: string, channel_id: string, mode: number): Promise<MessageTypingEvent>;
|
674
|
+
writeMessageTyping(clan_id: string, channel_id: string, mode: number, is_public: boolean): Promise<MessageTypingEvent>;
|
675
675
|
writeLastSeenMessage(clan_id: string, channel_id: string, mode: number, message_id: string, timestamp_seconds: number): Promise<LastSeenMessageEvent>;
|
676
676
|
writeLastPinMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, timestamp_seconds: number, operation: number): Promise<LastPinMessageEvent>;
|
677
677
|
writeVoiceJoined(id: string, clanId: string, clanName: string, voiceChannelId: string, voiceChannelLabel: string, participant: string, lastScreenshot: string): Promise<VoiceJoinedEvent>;
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1445,8 +1445,8 @@ export class DefaultSocket implements Socket {
|
|
1445
1445
|
return response.message_reaction_event
|
1446
1446
|
}
|
1447
1447
|
|
1448
|
-
async writeMessageTyping(clan_id: string, channel_id: string, mode: number): Promise<MessageTypingEvent> {
|
1449
|
-
const response = await this.send({message_typing_event: {clan_id: clan_id, channel_id: channel_id, mode:mode}});
|
1448
|
+
async writeMessageTyping(clan_id: string, channel_id: string, mode: number, is_public: boolean): Promise<MessageTypingEvent> {
|
1449
|
+
const response = await this.send({message_typing_event: {clan_id: clan_id, channel_id: channel_id, mode:mode, is_public: is_public}});
|
1450
1450
|
return response.message_typing_event
|
1451
1451
|
}
|
1452
1452
|
|