@rongcloud/engine 5.1.2 → 5.2.0

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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCEngine - v5.1.2
3
- * CommitId - efd1b7f44d2517ab9a2fab003c298184d1f06fca
4
- * Thu Feb 17 2022 14:47:39 GMT+0800 (China Standard Time)
2
+ * RCEngine - v5.2.0
3
+ * CommitId - cda3e1dfb825b2da0cbcb293dd38c8393cd8773f
4
+ * Wed Mar 02 2022 15:48:24 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  /**
@@ -44,6 +44,10 @@ declare enum ConversationType {
44
44
  * 需手动关注的公众号会话类型(MP)
45
45
  */
46
46
  PUBLIC_SERVICE = 8,
47
+ /**
48
+ * 超级群
49
+ */
50
+ ULTRA_GROUP = 10,
47
51
  /**
48
52
  * RTCLib 特有的会话类型
49
53
  */
@@ -360,6 +364,13 @@ declare class QueryWriter extends RetryableWriter {
360
364
  writeMessage(stream: RongStreamWriter): void;
361
365
  }
362
366
 
367
+ /**
368
+ * 聊天室 kv 存储操作类型. 对方操作, 己方收到消息(RC:chrmKVNotiMsg)中会带入此值. 根据此值判断是删除还是更新
369
+ */
370
+ declare enum OperateStatus {
371
+ typing = 0
372
+ }
373
+
363
374
  interface IConversationOption {
364
375
  conversationType: ConversationType;
365
376
  targetId: string;
@@ -726,6 +737,10 @@ interface IReceivedMessage {
726
737
  * 推送扩展
727
738
  */
728
739
  pushConfig?: IPushConfig;
740
+ /**
741
+ * 超级群专有字段,是否断档,服务端收到大量消息可能会断档,所以消息存在此标志位,断档需要客户手动拉取历史消息
742
+ */
743
+ isInterrupt?: boolean;
729
744
  }
730
745
  interface IUserProfile {
731
746
  /**
@@ -750,6 +765,26 @@ interface IUserProfile {
750
765
  */
751
766
  portrait?: string;
752
767
  }
768
+ interface IOperateInfo {
769
+ targetId: string;
770
+ channelId?: string;
771
+ userId: string;
772
+ operationType: OperateStatus;
773
+ operationTime?: number;
774
+ }
775
+ interface IOperateSummary {
776
+ targetId: string;
777
+ channelId?: string;
778
+ count: number;
779
+ operationType: OperateStatus;
780
+ }
781
+ interface IOperateStatusNotify {
782
+ conversationType: ConversationType;
783
+ hasInfo: boolean;
784
+ hasSummary: boolean;
785
+ info: IOperateInfo[];
786
+ summary: IOperateSummary[];
787
+ }
753
788
  interface IRecallMsgOptions {
754
789
  /**
755
790
  * 会话组织机构标识
@@ -885,6 +920,10 @@ interface ISendMsgOptions {
885
920
  * 客户端的消息标识
886
921
  */
887
922
  messageId?: string;
923
+ /**
924
+ * 超级群专有字段,是否断档,若断档需要客户判断是否拉取
925
+ */
926
+ isInterrupt?: boolean;
888
927
  }
889
928
  interface IInsertMsgOptions {
890
929
  senderUserId: string;
@@ -935,6 +974,63 @@ interface ISendExMsgOptions {
935
974
  [key: string]: string;
936
975
  } | null;
937
976
  }
977
+ interface IUltraExMsgOptions {
978
+ canIncludeExpansion: boolean;
979
+ channelId: string;
980
+ conversationType: ConversationType;
981
+ targetId: string;
982
+ messageUId: string;
983
+ sendTime: number;
984
+ /**
985
+ * 删除的 keys
986
+ */
987
+ keys?: string[];
988
+ /**
989
+ * 扩展对象
990
+ */
991
+ expansion?: {
992
+ [key: string]: string;
993
+ };
994
+ /**
995
+ * 是否删除所有扩展
996
+ */
997
+ removeAll?: boolean;
998
+ }
999
+ interface IUltraModifyMsgOptions {
1000
+ canIncludeExpansion?: boolean;
1001
+ channelId: string;
1002
+ conversationType: ConversationType;
1003
+ targetId: string;
1004
+ messageUId: string;
1005
+ sendTime: number;
1006
+ /**
1007
+ * 消息内容
1008
+ */
1009
+ content: {
1010
+ /**
1011
+ * 消息内容 key-value,最终会进行 JSON 序列化后发送
1012
+ */
1013
+ [key: string]: any;
1014
+ /**
1015
+ * 消息可携带的用户数据
1016
+ */
1017
+ user?: IUserProfile;
1018
+ /**
1019
+ * 其他拓展信息
1020
+ */
1021
+ extra?: string;
1022
+ };
1023
+ }
1024
+ interface IUltraMsgQueryInfo {
1025
+ sendTime: number;
1026
+ messageUId: string;
1027
+ channelId?: string;
1028
+ }
1029
+ interface IUltraMsgQueryOptions {
1030
+ conversationType: ConversationType;
1031
+ targetId: string;
1032
+ messages: IUltraMsgQueryInfo[];
1033
+ }
938
1034
  /**
939
1035
  * 被拦截的消息信息
940
1036
  */
@@ -1324,6 +1420,22 @@ declare enum ErrorCode {
1324
1420
  * 开启`禁止把已在线客户端踢下线`开关后,该错误码标识已有同类型端在线,禁止链接
1325
1421
  */
1326
1422
  HAS_OHTER_SAME_CLIENT_ON_LINE = 35010,
1423
+ /**
1424
+ * IM 在初次连接成功后,需立即同步消息,标记上线,然后获取全量超级群会话列表,列表同步完成前,所有超级群相关功能接口应不可用
1425
+ */
1426
+ METHOD_NOT_AVAILABLE = 35011,
1427
+ /**
1428
+ * 该功能不支持超级群
1429
+ */
1430
+ METHOD_NOT_SUPPORT = 35012,
1431
+ /**
1432
+ * 消息数量没在范围内
1433
+ */
1434
+ MSG_LIMIT_ERROR = 35013,
1435
+ /**
1436
+ * 该功能仅支持超级群
1437
+ */
1438
+ METHOD_ONLY_SUPPORT_ULTRA_GROUP = 35014,
1327
1439
  /**
1328
1440
  * 上传文件失败
1329
1441
  */
@@ -1626,8 +1738,9 @@ interface IReceivedConversation {
1626
1738
  */
1627
1739
  matchCount?: number;
1628
1740
  /**
1629
- * @ 消息未读数
1741
+ * 会话项变更时间戳
1630
1742
  */
1743
+ versionTime?: number;
1631
1744
  unreadMentionedCount?: number;
1632
1745
  }
1633
1746
  interface IReceivedConversationByTag extends IReceivedConversation {
@@ -1673,6 +1786,7 @@ interface IUpdatedConversation {
1673
1786
  */
1674
1787
  channelId?: string;
1675
1788
  tags?: IUpdatedConversation[];
1789
+ versionTime?: number;
1676
1790
  /**
1677
1791
  * @ 消息未读数
1678
1792
  */
@@ -1797,6 +1911,10 @@ interface INaviInfo {
1797
1911
  * @todo 需确认公有云与私有云区别
1798
1912
  */
1799
1913
  openUS: 0 | 1;
1914
+ /**
1915
+ * 超级群功能开关,1表示开
1916
+ */
1917
+ ugMsg?: 0 | 1;
1800
1918
  /**
1801
1919
  * 群离线消息最大下发条数,`0` 为关闭
1802
1920
  * @description 公有云独有配合
@@ -3514,6 +3632,18 @@ declare class DataCodec {
3514
3632
  * 格式化历史消息
3515
3633
  */
3516
3634
  private _formatHistoryMessages;
3635
+ /**
3636
+ * 格式化超级群消息变更列表
3637
+ */
3638
+ private _formatUltraMsgChangeList;
3639
+ /**
3640
+ * 格式化超级群消息变更列表
3641
+ */
3642
+ private _formatUltraOperateStatusNotifyList;
3643
+ /**
3644
+ * 格式化超级群变更后消息列表
3645
+ */
3646
+ private _formatUltraMsgList;
3517
3647
  /**
3518
3648
  * 格式化会话列表
3519
3649
  */
@@ -3595,9 +3725,13 @@ declare class DataCodec {
3595
3725
  */
3596
3726
  encodeChrmSyncMsg(time: number, count: number): any[];
3597
3727
  /**
3598
- * 序列化历史消息
3728
+ * 序列化历史消息所需参数
3599
3729
  */
3600
3730
  encodeGetHistoryMsg(targetId: string, option: IGetMsgOption): any[];
3731
+ /**
3732
+ * 序列化同步超级群所需参数
3733
+ */
3734
+ encodeSuperSyncMsg(syncTime: number): any[];
3601
3735
  /**
3602
3736
  * 序列化会话列表
3603
3737
  */
@@ -3625,11 +3759,31 @@ declare class DataCodec {
3625
3759
  /**
3626
3760
  * 批量删除消息通过时间
3627
3761
  */
3628
- encodeClearMessages(targetId: string, timestamp: number, channelId: string): any[];
3762
+ encodeClearMessages(targetId: string, timestamp: number, channelId: string, conversationType?: ConversationType): any[];
3629
3763
  /**
3630
3764
  * 未读数清除
3631
3765
  */
3632
3766
  encodeClearUnreadCount(conversation: IConversationOption, option: IClearMsgOption): any[];
3767
+ /**
3768
+ * 对已有的超级群消息扩展
3769
+ */
3770
+ encodeExpandUltraMessage(option: IUltraExMsgOptions, userId: string): any[];
3771
+ /**
3772
+ * 对已有的超级群消息扩展
3773
+ */
3774
+ encodemodifyMessage(option: IUltraModifyMsgOptions, userId: string): any[];
3775
+ /**
3776
+ * 超级群消息变更通知
3777
+ */
3778
+ encodeQueryMsgChange(time: number): any[];
3779
+ /**
3780
+ * 超级群消息变更通知
3781
+ */
3782
+ encodeMsgQuery(option: IUltraMsgQueryOptions): any[];
3783
+ /**
3784
+ * 正在输入中
3785
+ */
3786
+ encodeOperateStatus(targetId: string, conversationType: ConversationType, channelId: string, operationType: OperateStatus): any[];
3633
3787
  /**
3634
3788
  * 加入退出聊天室
3635
3789
  */
@@ -3697,6 +3851,10 @@ declare class DataCodec {
3697
3851
  * 序列号上报SDK信息
3698
3852
  */
3699
3853
  encodeReportSDKInfo(info: string): any;
3854
+ /**
3855
+ * 序列号超级群获取会话参数
3856
+ */
3857
+ encodeUltraGroup(syncTime: number, isEraseMsgContent: boolean): any;
3700
3858
  /**
3701
3859
  * ============ 以下为 RTC 相关 ============
3702
3860
  */
@@ -4000,6 +4158,11 @@ interface IWatcher {
4000
4158
  * 敏感词被拦截监听
4001
4159
  */
4002
4160
  messageBlocked?: IMessageBlockedListener;
4161
+ ultraGroupEnable?: (conversations: IReceivedConversation[]) => void;
4162
+ operateStatus?: (status: IOperateStatusNotify) => void;
4163
+ ultraGroupMessageExpansionUpdated?: (list: IReceivedMessage[]) => void;
4164
+ ultraGroupMessageModified?: (list: IReceivedMessage[]) => void;
4165
+ ultraGroupMessageRecalled?: (list: IReceivedMessage[]) => void;
4003
4166
  }
4004
4167
  interface IAPIContextOption {
4005
4168
  /**
@@ -4136,6 +4299,11 @@ declare class APIContext {
4136
4299
  private _typingStatusListener;
4137
4300
  private _pullFinishedListener;
4138
4301
  private _MessageBlockedListener;
4302
+ private _ultraGroupEnableListener;
4303
+ private _operateStatusListener;
4304
+ private _ultraGroupMessageExpansionUpdatedListener;
4305
+ private _ultraGroupMessageModifiedListener;
4306
+ private _ultraGroupMessageRecalledListener;
4139
4307
  /**
4140
4308
  * rtc 数据变更通知 pluginContext
4141
4309
  */
@@ -4265,6 +4433,18 @@ declare class APIContext {
4265
4433
  * 删除会话
4266
4434
  */
4267
4435
  removeConversation(conversationType: ConversationType, targetId: string, channelId?: string): Promise<ErrorCode>;
4436
+ /**
4437
+ * 获取超级群会话列表
4438
+ */
4439
+ getUltraGroupList(): Promise<IAsyncRes<IReceivedConversation[]>>;
4440
+ /**
4441
+ * 获取超级群免打扰列表
4442
+ */
4443
+ getBlockUltraGroupList(): Promise<IAsyncRes<IBaseConversationInfo[]>>;
4444
+ /**
4445
+ * 获取超级群置顶列表
4446
+ */
4447
+ getTopUltraGroupList(): Promise<IAsyncRes<IBaseConversationInfo[]>>;
4268
4448
  /**
4269
4449
  * 清除会话消息未读数
4270
4450
  */
@@ -4512,17 +4692,37 @@ declare class APIContext {
4512
4692
  * 获取所有本地置顶列表
4513
4693
  */
4514
4694
  getTopConversationList(): Promise<IAsyncRes<IBaseConversationInfo[]>>;
4515
- /**
4516
- * 获取单个群聊会话 @ 消息未读数
4517
- */
4518
4695
  getUnreadMentionedCount(conversation: IConversationOption): Promise<IAsyncRes<number>>;
4519
4696
  /**
4520
- * 获取所有群聊会话 @ 消息未读数
4521
- */
4697
+ * 获取所有群聊会话 @ 消息未读数
4698
+ */
4522
4699
  getAllUnreadMentionedCount(): Promise<IAsyncRes<number>>;
4523
4700
  /**
4524
- * 获取本地全部会话的状态
4701
+ * 超级群正在输入中
4702
+ * @param options
4703
+ */
4704
+ sendUltraGroupTypingStatus(options: IConversationOption): Promise<IAsyncRes>;
4705
+ /**
4706
+ * 根据消息 ID 查询消息列表
4707
+ * @param options
4708
+ */
4709
+ getUltraGroupMessageListByMessageUId(options: IUltraMsgQueryOptions): Promise<IAsyncRes>;
4710
+ /**
4711
+ * 扩展已有的超级群消息
4712
+ * @param options 设置的扩展
4713
+ */
4714
+ expandUltraMessage(options: IUltraExMsgOptions): Promise<IAsyncRes<ErrorCode>>;
4715
+ /**
4716
+ * 修改已有的超级群消息
4717
+ * @param options 设置的扩展
4718
+ */
4719
+ modifyMessage(options: IUltraModifyMsgOptions): Promise<IAsyncRes<ErrorCode>>;
4720
+ /**
4721
+ * 根据会话 ID 获取所有子频道 @ 消息未读数
4722
+ * @todo
4723
+ * @param targetId
4525
4724
  */
4725
+ getUltraGroupUnreadMentionedCountByTargetId(targetId: string): Promise<IAsyncRes<number>>;
4526
4726
  getAllConversationState(): Promise<IAsyncRes<IConversationState[]>>;
4527
4727
  /**
4528
4728
  * 调用非标准方法。所谓非标准方法,是为某些特定需求或产品添加,暂未作为标准接口添加至 API 层。
@@ -4930,6 +5130,11 @@ interface IEngineWatcher {
4930
5130
  expansion: (event: IExpansionListenerData) => void;
4931
5131
  tag: () => void;
4932
5132
  conversationTag: () => void;
5133
+ ultraGroupEnable: (conversations: IReceivedConversation[]) => void;
5134
+ operateStatus: (status: IOperateStatusNotify) => void;
5135
+ ultraGroupMessageExpansionUpdated: (list: IReceivedMessage[]) => void;
5136
+ ultraGroupMessageModified: (list: IReceivedMessage[]) => void;
5137
+ ultraGroupMessageRecalled: (list: IReceivedMessage[]) => void;
4933
5138
  /**
4934
5139
  * RTC 数据变更
4935
5140
  */
@@ -5324,6 +5529,62 @@ declare abstract class AEngine implements IEngine {
5324
5529
  * 获取当前 userId
5325
5530
  */
5326
5531
  abstract getCurrentUserId(): string;
5532
+ /**
5533
+ * 获取所有超级群会话列表
5534
+ */
5535
+ abstract getUltraGroupList(): Promise<IAsyncRes<IReceivedConversation[]>>;
5536
+ /**
5537
+ * 获取超级群免打扰列表
5538
+ */
5539
+ abstract getBlockUltraGroupList(): Promise<IAsyncRes<IBaseConversationInfo[]>>;
5540
+ /**
5541
+ * 获取超级群置顶列表
5542
+ */
5543
+ abstract getTopUltraGroupList(): Promise<IAsyncRes<IBaseConversationInfo[]>>;
5544
+ /**
5545
+ * 上报超级群会话已读时间
5546
+ * @param targetId
5547
+ * @param channelId
5548
+ */
5549
+ abstract clearUltraUnreadcount(targetId: string, channelId: string): Promise<ErrorCode>;
5550
+ /**
5551
+ * 根据会话 ID 获取所有子频道 @ 消息未读数
5552
+ * @todo
5553
+ * @param targetId
5554
+ */
5555
+ abstract getUltraGroupUnreadMentionedCountByTargetId(targetId: string): Promise<IAsyncRes<number>>;
5556
+ /**
5557
+ * 超级群消息发送
5558
+ * @param targetId
5559
+ * @param options
5560
+ */
5561
+ abstract sendUltraMessage(targetId: string, options: ISendMsgOptions): Promise<IAsyncRes>;
5562
+ /**
5563
+ * 超级群消息正在输入中
5564
+ * @param options
5565
+ */
5566
+ abstract sendUltraGroupTypingStatus(options: IConversationOption, operationType?: OperateStatus): Promise<IAsyncRes>;
5567
+ /**
5568
+ * 拉取超级群变更后的消息列表
5569
+ * @param time
5570
+ */
5571
+ abstract getUltraGroupMessageListByMessageUId(options: IUltraMsgQueryOptions): Promise<IAsyncRes<Object>>;
5572
+ /**
5573
+ * 对已有的消息进行扩展
5574
+ * @param options
5575
+ */
5576
+ abstract expandUltraMessage(options: IUltraExMsgOptions): Promise<IAsyncRes>;
5577
+ /**
5578
+ * 对已有的消息进行修改
5579
+ * @param options
5580
+ */
5581
+ abstract modifyMessage(options: IUltraModifyMsgOptions): Promise<IAsyncRes>;
5582
+ /**
5583
+ * 超级群获取历史消息
5584
+ * @param targetId
5585
+ * @param options
5586
+ */
5587
+ abstract getUltraHistoryMsg(targetId: string, options: IGetMsgOption): Promise<IAsyncRes>;
5327
5588
  abstract getConversationListWithAllChannel(): IPromiseResult<IReceivedConversation[]>;
5328
5589
  abstract getConversationListWithAllChannelByPage(index: number, limit: number): IPromiseResult<IReceivedConversation[]>;
5329
5590
  /**
@@ -5743,6 +6004,10 @@ declare const isValidConversationType: (conversation: number) => boolean;
5743
6004
  * 判断是否是一个有效的文件类型
5744
6005
  */
5745
6006
  declare const isValidFileType: (fileType: number) => boolean;
6007
+ /**
6008
+ * 判断是否是一个合法的消息扩展
6009
+ */
6010
+ declare const isValidExpansion: (expansion: any) => boolean;
5746
6011
 
5747
6012
  /**
5748
6013
  * 预定义的验证规则,只包含`值类型`数据验证
@@ -5874,6 +6139,7 @@ declare const getBrowser: (runtime: IRuntime) => {
5874
6139
  * @param code 连接响应码
5875
6140
  */
5876
6141
  declare const formatConnectResponseCode: (code: number) => ErrorCode;
6142
+ declare const clone: (target: any) => any;
5877
6143
 
5878
6144
  /**
5879
6145
  * Navi 缓存数据有效时长,单位毫秒
@@ -5964,4 +6230,4 @@ declare enum CONNECTION_TYPE {
5964
6230
  */
5965
6231
  declare const version: string;
5966
6232
 
5967
- export { AEngine, ANavi, APIContext, AppStorage, AssertRules, CONNECTION_TYPE, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomUserChangeType as ChatroomMemberChangeType, CometChannel, ConnectResultCode, ConnectionStatus, ConversationType, DelayTimer, ErrorCode, EventEmitter, FileType, HttpMethod, IAPIContextOption, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, ICancelRoomPKOptions, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomInfo, IChatroomListener, IChatroomListenerData, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionStatusListener, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDataChannelWatcher, IDeletedExpansion, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IInsertMsgOptions, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, IM_COMET_PULLMSG_TIMEOUT, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageListnenr, IMessageReader, IMessageReaderResponse, IMetionedData, INaviInfo, IPluginGenerator, IPromiseResult, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserProfile, IWatcher, IWebSocket, ItypingStateListener, KVString, LiveRole, LiveType, LogLevel, LogType, Logger, MAX_MESSAGE_CONTENT_BYTES, MINI_COMET_CONNECT_URIS, MINI_SOCKET_CONNECT_URIS, MentionedType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NotificationStatus, PING_REQ_TIMEOUT, PUBLIC_CLOUD_NAVI_URIS, PluginContext, RCAssertError, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATUS_MESSAGE, STORAGE_ROOT_KEY, TagChangeType, UploadMethod, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketChannel, appendUrl, assert, cloneByJSON, forEach, formatConnectResponseCode, getBrowser, getMimeKey, getUploadFileName, indexOf, isArray, isArrayBuffer, isBoolean, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isUndefined, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidFileType, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, todo, usingCppEngine, validate, version };
6233
+ export { AEngine, ANavi, APIContext, AppStorage, AssertRules, CONNECTION_TYPE, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomUserChangeType as ChatroomMemberChangeType, CometChannel, ConnectResultCode, ConnectionStatus, ConversationType, DelayTimer, ErrorCode, EventEmitter, FileType, HttpMethod, IAPIContextOption, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, ICancelRoomPKOptions, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomInfo, IChatroomListener, IChatroomListenerData, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionStatusListener, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDataChannelWatcher, IDeletedExpansion, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IInsertMsgOptions, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, IM_COMET_PULLMSG_TIMEOUT, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageListnenr, IMessageReader, IMessageReaderResponse, IMetionedData, INaviInfo, IPluginGenerator, IPromiseResult, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraExMsgOptions, IUltraModifyMsgOptions, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserProfile, IWatcher, IWebSocket, ItypingStateListener, KVString, LiveRole, LiveType, LogLevel, LogType, Logger, MAX_MESSAGE_CONTENT_BYTES, MINI_COMET_CONNECT_URIS, MINI_SOCKET_CONNECT_URIS, MentionedType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NotificationStatus, PING_REQ_TIMEOUT, PUBLIC_CLOUD_NAVI_URIS, PluginContext, RCAssertError, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATUS_MESSAGE, STORAGE_ROOT_KEY, TagChangeType, UploadMethod, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketChannel, appendUrl, assert, clone, cloneByJSON, forEach, formatConnectResponseCode, getBrowser, getMimeKey, getUploadFileName, indexOf, isArray, isArrayBuffer, isBoolean, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isUndefined, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, todo, usingCppEngine, validate, version };