node-nim
Version:
NetEase IM nodejs wrapper based on NetEase IM C++ SDK
115 lines (114 loc) • 4.93 kB
TypeScript
import { NIMClient } from './nim/client';
import { NIMDataSync } from './nim/data_sync';
import { NIMFriend } from './nim/friend';
import { NIMGlobal } from './nim/global';
import { NIMMsgLog } from './nim/msglog';
import { NIMNOS } from './nim/nos';
import { NIMOnlineSession } from './nim/online_session';
import { NIMPassThroughProxy } from './nim/pass_through_proxy';
import { NIMSession } from './nim/session';
import { NIMSubscribeEvent } from './nim/subscribe_event';
import { NIMSuperTeam } from './nim/super_team';
import { NIMSysMsg } from './nim/sysmsg';
import { NIMTalk } from './nim/talk';
import { NIMTeam } from './nim/team';
import { NIMTool } from './nim/tool';
import { NIMUser } from './nim/user';
import { NIMPlugin } from './nim/plugin';
import { NIMTalkEx } from './nim/talkex';
import { NIMAI } from './nim/ai';
import { ChatRoomModule } from './chatroom/chatroom';
import { QChatInstanceModule } from './qchat/instance';
import { QChatServerModule } from './qchat/server';
import { QChatChannelModule } from './qchat/channel';
import { QChatChannelCategoryModule } from './qchat/channel_category';
import { QChatMessageModule } from './qchat/message';
import { QChatSystemNotificationModule } from './qchat/system_notification';
import { QChatAttachmentModule } from './qchat/attachment';
import { QChatRoleModule } from './qchat/role';
import { V2NIMClient } from './v2/v2_nim_client';
import { V2NIMChatroomClient } from './v2/v2_nim_chatroom_client';
import { V2NIMMessageCreator, V2NIMMessageConverter, V2NIMClientAntispamUtil, V2NIMChatroomMessageCreator, V2NIMConversationIdUtil, V2NIMStorageUtil, V2NIMMessageAttachmentCreator } from './v2/v2_nim_utilities';
export { NIMClient, NIMDataSync, NIMFriend, NIMGlobal, NIMMsgLog, NIMNOS, NIMOnlineSession, NIMPassThroughProxy, NIMSession, NIMSubscribeEvent, NIMSuperTeam, NIMSysMsg, NIMTalk, NIMTeam, NIMTool, NIMUser, NIMPlugin, NIMTalkEx, NIMAI, ChatRoomModule, QChatInstanceModule, QChatServerModule, QChatChannelModule, QChatChannelCategoryModule, QChatMessageModule, QChatSystemNotificationModule, QChatAttachmentModule, QChatRoleModule, V2NIMClient, V2NIMChatroomClient, V2NIMMessageCreator, V2NIMMessageConverter, V2NIMClientAntispamUtil, V2NIMChatroomMessageCreator, V2NIMConversationIdUtil, V2NIMStorageUtil, V2NIMMessageAttachmentCreator };
export * from './nim_def/client_def';
export * from './nim_def/data_sync_def';
export * from './nim_def/friend_def';
export * from './nim_def/global_def';
export * from './nim_def/msglog_def';
export * from './nim_def/nos_def';
export * from './nim_def/online_session_def';
export * from './nim_def/pass_through_proxy_def';
export * from './nim_def/session_def';
export * from './nim_def/subscribe_event_def';
export * from './nim_def/super_team_def';
export * from './nim_def/sysmsg_def';
export * from './nim_def/talk_def';
export * from './nim_def/team_def';
export * from './nim_def/tool_def';
export * from './nim_def/user_def';
export * from './nim_def/plugin_def';
export * from './nim_def/talkex_def';
export * from './chatroom_def/chatroom_def';
export * from './qchat_def/instance_def';
export * from './qchat_def/server_def';
export * from './qchat_def/channel_def';
export * from './qchat_def/message_def';
export * from './qchat_def/system_notification_def';
export * from './qchat_def/attachment_def';
export * from './qchat_def/role_def';
export * from './v2_def/v2_nim_enum_def';
export declare class NIM {
/** 客户端模块 */
client: NIMClient;
/** 数据同步模块 */
dataSync: NIMDataSync;
/** 好友模块 */
friend: NIMFriend;
/** 全局模块 */
global: NIMGlobal;
/** 消息历史模块 */
msgLog: NIMMsgLog;
/** 云存储模块 */
nos: NIMNOS;
/** 云端会话模块 */
onlineSession: NIMOnlineSession;
/** 透传代理模块 */
passThroughProxy: NIMPassThroughProxy;
/** 本地会话模块 */
session: NIMSession;
/** 订阅事件模块 */
subscribeEvent: NIMSubscribeEvent;
/** 超大群模块 */
superTeam: NIMSuperTeam;
/** 系统通知模块 */
sysMsg: NIMSysMsg;
/** 聊天模块 */
talk: NIMTalk;
/** 群组模块 */
team: NIMTeam;
/** 工具模块 */
tool: NIMTool;
/** 用户模块 */
user: NIMUser;
/** 插件模块 */
plugin: NIMPlugin;
/** 聊天扩展模块 */
talkEx: NIMTalkEx;
/** AI 数字人模块 */
ai: NIMAI;
/** 初始化事件处理 */
initEventHandlers(): void;
}
export declare class ChatRoom extends ChatRoomModule {
}
export declare class QChat {
instance: QChatInstanceModule;
server: QChatServerModule;
channel: QChatChannelModule;
channelCategory: QChatChannelCategoryModule;
message: QChatMessageModule;
systemNotification: QChatSystemNotificationModule;
attachment: QChatAttachmentModule;
role: QChatRoleModule;
initEventHandlers(): void;
}