mezon-js 2.15.60 → 2.15.61

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/dist/client.d.ts CHANGED
@@ -442,7 +442,7 @@ export declare class Client {
442
442
  reportMessageAbuse(session: ApiSession, messageId?: string, abuseType?: string): Promise<any>;
443
443
  updateMezonVoiceState(session: ApiSession, clanId?: string, channelId?: string, displayName?: string, roomName?: string, state?: number): Promise<any>;
444
444
  sendChannelMessage(session: ApiSession, clanId: string, channelId: string, mode: number, isPublic: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymousMessage?: boolean, mentionEveryone?: boolean, avatar?: string, code?: number, topicId?: string): Promise<ChannelMessageAck>;
445
- updateChannelMessage(session: ApiSession, clanId: string, channelId: string, mode: number, isPublic: boolean, messageId: string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, hideEditted?: boolean, topicId?: string, isUpdateMsgTopic?: boolean): Promise<any>;
445
+ updateChannelMessage(session: ApiSession, clanId: string, channelId: string, mode: number, isPublic: boolean, messageId: string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, createTimeSeconds?: number, hideEditted?: boolean, topicId?: string, isUpdateMsgTopic?: boolean): Promise<any>;
446
446
  deleteChannelMessage(session: ApiSession, clanId: string, channelId: string, mode: number, isPublic: boolean, messageId: string, hasAttachment?: boolean, topicId?: string, mentions?: Uint8Array, references?: Uint8Array): Promise<any>;
447
447
  messageButtonClick(session: ApiSession, messageId?: string, channelId?: string, buttonId?: string, senderId?: string, userId?: string, extraData?: string): Promise<any>;
448
448
  dropdownBoxSelected(session: ApiSession, messageId?: string, channelId?: string, selectboxId?: string, senderId?: string, userId?: string, values?: string[]): Promise<any>;
@@ -466,7 +466,7 @@ export declare class Client {
466
466
  leaveChat(session: ApiSession, clan_id: string, channel_id: string, channel_type: number, is_public: boolean): Promise<void>;
467
467
  removeChatMessage(session: ApiSession, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, has_attachment?: boolean, topic_id?: string, mentions?: string, references?: string): Promise<ChannelMessageAck>;
468
468
  unfollowUsers(session: ApiSession, user_ids: string[]): Promise<void>;
469
- updateChatMessage(session: ApiSession, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, hideEditted?: boolean, topic_id?: string, is_update_msg_topic?: boolean): Promise<ChannelMessageAck>;
469
+ updateChatMessage(session: ApiSession, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, createTimeSeconds?: number, hideEditted?: boolean, topic_id?: string, is_update_msg_topic?: boolean): Promise<ChannelMessageAck>;
470
470
  updateStatus(session: ApiSession, status?: string): Promise<void>;
471
471
  writeQuickMenuEvent(session: ApiSession, menu_name: string, 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, code?: number, topic_id?: string, message_id?: string, message_sender_id?: string): Promise<QuickMenuEvent>;
472
472
  writeEphemeralMessage(session: ApiSession, receiver_ids: string[], 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, code?: number, topic_id?: string, id?: string): Promise<ChannelMessageAck>;