@rongcloud/imlib-next 5.3.2 → 5.4.0-enterprise.1
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/index.d.ts +162 -47
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as _rongcloud_engine from '@rongcloud/engine';
|
|
2
|
+
import { LogLevel, MessageDirection, ReceivedStatus, IReadReceiptInfo, IPushConfig, IPluginGenerator, IAsyncRes, ConnectionStatus, IEventListener, NotificationStatus, NotificationLevel, IUserProfile, IConversationOption, ConversationType, ErrorCode, IBaseConversationInfo, IConversationState, IReceivedConversation, IUltraGroupOption, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption, MentionedType, IMessageReaderResponse, IReceivedMessage, ITagParam, ITagInfo, IConversationTag, IReceivedConversationByTag, FileType, IUploadAuth, UploadMethod } from '@rongcloud/engine';
|
|
3
|
+
export { ConnectionStatus, ConversationType, ErrorCode, IBlockedMessageInfo, IChatRoomEntries, IChatRoomEntry, IChatroomListenerData, IConversationOption, IConversationState, IDeletedExpansion, IExpansionListenerData, IPluginGenerator, IRTCRoomBindOption, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IUpdatedExpansion, LogLevel, MentionedType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, ReceivedStatus, UploadMethod, logger } from '@rongcloud/engine';
|
|
4
|
+
import * as _rongcloud_engine_enums_ReceivedStatus from '@rongcloud/engine/enums/ReceivedStatus';
|
|
5
|
+
import * as _rongcloud_engine_enums_ConversationType from '@rongcloud/engine/enums/ConversationType';
|
|
6
|
+
|
|
7
|
+
declare enum Events {
|
|
8
|
+
CONNECTING = "CONNECTING",
|
|
9
|
+
CONNECTED = "CONNECTED",
|
|
10
|
+
DISCONNECT = "DISCONNECT",
|
|
11
|
+
SUSPEND = "SUSPEND",
|
|
12
|
+
MESSAGES = "MESSAGES",
|
|
13
|
+
READ_RECEIPT_RECEIVED = "READ_RECEIPT_RECEIVED",
|
|
14
|
+
MESSAGE_RECEIPT_REQUEST = "MESSAGE_RECEIPT_REQUEST",
|
|
15
|
+
MESSAGE_RECEIPT_RESPONSE = "MESSAGE_RECEIPT_RESPONSE",
|
|
16
|
+
CONVERSATION = "CONVERSATION",
|
|
17
|
+
CHATROOM = "CHATROOM",
|
|
18
|
+
EXPANSION = "EXPANSION",
|
|
19
|
+
PULL_OFFLINE_MESSAGE_FINISHED = "PULL_OFFLINE_MESSAGE_FINISHED",
|
|
20
|
+
TAG = "TAG",
|
|
21
|
+
CONVERSATION_TAG = "CONVERSATION_TAG",
|
|
22
|
+
TYPING_STATUS = "TYPING_STATUS",
|
|
23
|
+
MESSAGE_BLOCKED = "MESSAGE_BLOCKED",
|
|
24
|
+
ULTRA_GROUP_ENABLE = "ULTRA_GROUP_ENABLE",
|
|
25
|
+
OPERATE_STATUS = "OPERATE_STATUS",
|
|
26
|
+
ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED = "ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED",
|
|
27
|
+
ULTRA_GROUP_MESSAGE_MODIFIED = "ULTRA_GROUP_MESSAGE_MODIFIED",
|
|
28
|
+
ULTRA_GROUP_MESSAGE_RECALLED = "ULTRA_GROUP_MESSAGE_RECALLED"
|
|
29
|
+
}
|
|
30
|
+
declare enum SentStatus {
|
|
31
|
+
/**
|
|
32
|
+
* 发送中。
|
|
33
|
+
*/
|
|
34
|
+
SENDING = 10,
|
|
35
|
+
/**
|
|
36
|
+
* 发送失败。
|
|
37
|
+
*/
|
|
38
|
+
FAILED = 20,
|
|
39
|
+
/**
|
|
40
|
+
* 已发送。
|
|
41
|
+
*/
|
|
42
|
+
SENT = 30,
|
|
43
|
+
/**
|
|
44
|
+
* 对方已接收。
|
|
45
|
+
*/
|
|
46
|
+
RECEIVED = 40,
|
|
47
|
+
/**
|
|
48
|
+
* 对方已读。
|
|
49
|
+
*/
|
|
50
|
+
READ = 50,
|
|
51
|
+
/**
|
|
52
|
+
* 对方已销毁。
|
|
53
|
+
*/
|
|
54
|
+
DESTROYED = 60
|
|
55
|
+
}
|
|
3
56
|
|
|
4
57
|
declare type IInitOption = {
|
|
5
58
|
/**
|
|
@@ -34,6 +87,10 @@ declare type IInitOption = {
|
|
|
34
87
|
* 是否校验证书,默认为 true
|
|
35
88
|
*/
|
|
36
89
|
checkCA?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* 七牛上传文件地址域名(仅私有云)
|
|
92
|
+
*/
|
|
93
|
+
uploadDomain?: string;
|
|
37
94
|
};
|
|
38
95
|
/**
|
|
39
96
|
* 用户收到的消息结构
|
|
@@ -131,7 +188,11 @@ interface IAReceivedMessage {
|
|
|
131
188
|
/**
|
|
132
189
|
* 消息接收状态
|
|
133
190
|
*/
|
|
134
|
-
receivedStatus:
|
|
191
|
+
receivedStatus: ReceivedStatus;
|
|
192
|
+
/**
|
|
193
|
+
* 消息的发送状态,Electron 平台独有字段
|
|
194
|
+
*/
|
|
195
|
+
sentStatus: SentStatus;
|
|
135
196
|
/**
|
|
136
197
|
* 消息已读回执信息,导航配置grpRRVer=1时群组类型消息内存在, 其他情况为undefined
|
|
137
198
|
*/
|
|
@@ -141,7 +202,7 @@ interface IAReceivedMessage {
|
|
|
141
202
|
*/
|
|
142
203
|
pushConfig?: IPushConfig;
|
|
143
204
|
/**
|
|
144
|
-
*
|
|
205
|
+
* 消息本地 ID,Electron 平台独有字段
|
|
145
206
|
*/
|
|
146
207
|
messageId?: number;
|
|
147
208
|
}
|
|
@@ -161,6 +222,12 @@ declare type GetHistoryMessageOption = {
|
|
|
161
222
|
*/
|
|
162
223
|
order?: 0 | 1;
|
|
163
224
|
};
|
|
225
|
+
interface IGetHistoryMessagesByTypesOption extends GetHistoryMessageOption {
|
|
226
|
+
/**
|
|
227
|
+
* 消息类型
|
|
228
|
+
*/
|
|
229
|
+
messageTypes: string[];
|
|
230
|
+
}
|
|
164
231
|
declare type GetHistoryMessageResult = {
|
|
165
232
|
list: IAReceivedMessage[];
|
|
166
233
|
hasMore: boolean;
|
|
@@ -220,10 +287,14 @@ declare function removeEventListeners(eventType: string): void;
|
|
|
220
287
|
*/
|
|
221
288
|
declare function clearEventListeners(): void;
|
|
222
289
|
declare function __addSDKVersion(name: string, version: string): void;
|
|
290
|
+
/**
|
|
291
|
+
* 获取 deviceId
|
|
292
|
+
*/
|
|
293
|
+
declare function getDeviceId(): string;
|
|
223
294
|
|
|
224
295
|
declare class BaseMessage<T = any> {
|
|
225
296
|
readonly messageType: string;
|
|
226
|
-
|
|
297
|
+
content: T;
|
|
227
298
|
readonly isPersited: boolean;
|
|
228
299
|
readonly isCounted: boolean;
|
|
229
300
|
constructor(messageType: string, content: T, isPersited?: boolean, isCounted?: boolean);
|
|
@@ -384,6 +455,10 @@ interface ISendMessageOptions {
|
|
|
384
455
|
* 移动端推送配置
|
|
385
456
|
*/
|
|
386
457
|
pushConfig?: IPushConfig;
|
|
458
|
+
/**
|
|
459
|
+
* 消息发送之前的回调
|
|
460
|
+
*/
|
|
461
|
+
onSendBefore?: (message: IAReceivedMessage) => void;
|
|
387
462
|
}
|
|
388
463
|
/**
|
|
389
464
|
* 文件消息配置
|
|
@@ -507,6 +582,16 @@ interface IUploadHooks {
|
|
|
507
582
|
url: string;
|
|
508
583
|
}) => (void | BaseMessage);
|
|
509
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
* 在时间区间内搜索消息的参数配置
|
|
587
|
+
*/
|
|
588
|
+
interface ISearchMessageInTimeRangeOption {
|
|
589
|
+
keyword: string;
|
|
590
|
+
startTime: number;
|
|
591
|
+
endTime: number;
|
|
592
|
+
offset?: number;
|
|
593
|
+
limit?: number;
|
|
594
|
+
}
|
|
510
595
|
|
|
511
596
|
/**
|
|
512
597
|
* 获取会话列表
|
|
@@ -764,7 +849,7 @@ declare function setChatRoomEntry(targetId: string, options: IChatRoomEntry): Pr
|
|
|
764
849
|
* 批量设置聊天室自定义属性
|
|
765
850
|
* @param options ISetChatroomEntryOption数组
|
|
766
851
|
*/
|
|
767
|
-
declare function setChatRoomEntries(targetId: string, options:
|
|
852
|
+
declare function setChatRoomEntries(targetId: string, options: IChatroomEntries): Promise<IAsyncRes<void>>;
|
|
768
853
|
/**
|
|
769
854
|
* 强制 增加/修改 任意聊天室属性
|
|
770
855
|
* @description 仅聊天室中不存在此属性或属性设置者为己方时可设置成功
|
|
@@ -810,6 +895,26 @@ declare function getAllChatRoomEntries(targetId: string): Promise<IAsyncRes<{
|
|
|
810
895
|
declare function getChatroomHistoryMessages(targetId: string, options: GetHistoryMessageOption): Promise<IAsyncRes<GetHistoryMessageResult>>;
|
|
811
896
|
declare function bindRTCRoomForChatroom(option: IRTCRoomBindOption): Promise<IAsyncRes>;
|
|
812
897
|
|
|
898
|
+
/**
|
|
899
|
+
* 添加用户到黑名单
|
|
900
|
+
* @param userId 用户 ID
|
|
901
|
+
*/
|
|
902
|
+
declare function addToBlacklist(userId: string): Promise<IAsyncRes>;
|
|
903
|
+
/**
|
|
904
|
+
* 从黑名单中移除用户
|
|
905
|
+
* @param userId 用户 ID
|
|
906
|
+
*/
|
|
907
|
+
declare function removeFromBlacklist(userId: string): Promise<IAsyncRes>;
|
|
908
|
+
/**
|
|
909
|
+
* 获取黑名单列表
|
|
910
|
+
*/
|
|
911
|
+
declare function getBlacklist(): Promise<IAsyncRes<string[]>>;
|
|
912
|
+
/**
|
|
913
|
+
* 查询用户是否在黑名单中
|
|
914
|
+
* @param userId 用户 ID
|
|
915
|
+
*/
|
|
916
|
+
declare function getBlacklistStatus(userId: string): Promise<IAsyncRes<boolean>>;
|
|
917
|
+
|
|
813
918
|
/**
|
|
814
919
|
* 群组内的消息包含的 @ 数据
|
|
815
920
|
*/
|
|
@@ -840,7 +945,7 @@ interface IImageMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
840
945
|
*/
|
|
841
946
|
imageUri: string;
|
|
842
947
|
}
|
|
843
|
-
declare const _default$
|
|
948
|
+
declare const _default$b: MessageConstructor<IImageMessageBody>;
|
|
844
949
|
|
|
845
950
|
interface IHQVoiceMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
846
951
|
/**
|
|
@@ -856,7 +961,7 @@ interface IHQVoiceMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
|
856
961
|
*/
|
|
857
962
|
duration: number;
|
|
858
963
|
}
|
|
859
|
-
declare const _default$
|
|
964
|
+
declare const _default$a: MessageConstructor<IHQVoiceMessageBody>;
|
|
860
965
|
|
|
861
966
|
interface ISightMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
862
967
|
/**
|
|
@@ -881,7 +986,7 @@ interface ISightMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
881
986
|
*/
|
|
882
987
|
name: string;
|
|
883
988
|
}
|
|
884
|
-
declare const _default$
|
|
989
|
+
declare const _default$9: MessageConstructor<ISightMessageBody>;
|
|
885
990
|
|
|
886
991
|
/**
|
|
887
992
|
* 文本消息
|
|
@@ -892,7 +997,7 @@ interface ITextMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
|
892
997
|
*/
|
|
893
998
|
content: string;
|
|
894
999
|
}
|
|
895
|
-
declare const _default$
|
|
1000
|
+
declare const _default$8: MessageConstructor<ITextMessageBody>;
|
|
896
1001
|
|
|
897
1002
|
interface ICombineMessageBody extends IExtraData, IUserInfo {
|
|
898
1003
|
/**
|
|
@@ -912,7 +1017,7 @@ interface ICombineMessageBody extends IExtraData, IUserInfo {
|
|
|
912
1017
|
*/
|
|
913
1018
|
conversationType: ConversationType;
|
|
914
1019
|
}
|
|
915
|
-
declare const _default$
|
|
1020
|
+
declare const _default$7: MessageConstructor<ICombineMessageBody>;
|
|
916
1021
|
|
|
917
1022
|
interface IFileMessageBody extends IExtraData, IUserInfo {
|
|
918
1023
|
/**
|
|
@@ -932,7 +1037,7 @@ interface IFileMessageBody extends IExtraData, IUserInfo {
|
|
|
932
1037
|
*/
|
|
933
1038
|
fileUrl: string;
|
|
934
1039
|
}
|
|
935
|
-
declare const _default$
|
|
1040
|
+
declare const _default$6: MessageConstructor<IFileMessageBody>;
|
|
936
1041
|
|
|
937
1042
|
interface IGIFMessageBody extends IExtraData, IUserInfo {
|
|
938
1043
|
/**
|
|
@@ -952,14 +1057,14 @@ interface IGIFMessageBody extends IExtraData, IUserInfo {
|
|
|
952
1057
|
*/
|
|
953
1058
|
height: number;
|
|
954
1059
|
}
|
|
955
|
-
declare const _default$
|
|
1060
|
+
declare const _default$5: MessageConstructor<IGIFMessageBody>;
|
|
956
1061
|
|
|
957
1062
|
interface IVoiceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
958
1063
|
content: string;
|
|
959
1064
|
duration: number;
|
|
960
1065
|
extra: string;
|
|
961
1066
|
}
|
|
962
|
-
declare const _default$
|
|
1067
|
+
declare const _default$4: MessageConstructor<IVoiceMessageBody>;
|
|
963
1068
|
|
|
964
1069
|
interface ILocationMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
965
1070
|
/**
|
|
@@ -979,7 +1084,7 @@ interface ILocationMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
979
1084
|
*/
|
|
980
1085
|
content: string;
|
|
981
1086
|
}
|
|
982
|
-
declare const _default$
|
|
1087
|
+
declare const _default$3: MessageConstructor<ILocationMessageBody>;
|
|
983
1088
|
|
|
984
1089
|
interface IReferenceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
985
1090
|
/**
|
|
@@ -999,7 +1104,7 @@ interface IReferenceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
999
1104
|
*/
|
|
1000
1105
|
objName: string;
|
|
1001
1106
|
}
|
|
1002
|
-
declare const _default$
|
|
1107
|
+
declare const _default$2: MessageConstructor<IReferenceMessageBody>;
|
|
1003
1108
|
|
|
1004
1109
|
interface IArticle {
|
|
1005
1110
|
title: string;
|
|
@@ -1009,7 +1114,7 @@ interface IArticle {
|
|
|
1009
1114
|
}
|
|
1010
1115
|
interface IRichContentMessageBody extends IArticle, IExtraData, IMentionedInfo, IUserInfo {
|
|
1011
1116
|
}
|
|
1012
|
-
declare const _default: MessageConstructor<IRichContentMessageBody>;
|
|
1117
|
+
declare const _default$1: MessageConstructor<IRichContentMessageBody>;
|
|
1013
1118
|
|
|
1014
1119
|
/**
|
|
1015
1120
|
* 发送消息
|
|
@@ -1083,7 +1188,7 @@ declare function sendSyncReadStatusMessage(conversation: IConversationOption, la
|
|
|
1083
1188
|
code: ErrorCode.SUCCESS;
|
|
1084
1189
|
msg?: undefined;
|
|
1085
1190
|
} | {
|
|
1086
|
-
code: ErrorCode.TIMEOUT | ErrorCode.UNKNOWN | ErrorCode.PARAMETER_ERROR | ErrorCode.EXTRA_METHOD_UNDEFINED | ErrorCode.MAIN_PROCESS_ERROR | ErrorCode.PARAMETER_CHANGED | ErrorCode.RC_MSG_UNAUTHORIZED | ErrorCode.RC_DISCUSSION_GROUP_ID_INVALID | ErrorCode.SEND_FREQUENCY_TOO_FAST | ErrorCode.NOT_IN_DISCUSSION | ErrorCode.FORBIDDEN_IN_GROUP | ErrorCode.RECALL_MESSAGE | ErrorCode.NOT_IN_GROUP | ErrorCode.NOT_IN_CHATROOM | ErrorCode.FORBIDDEN_IN_CHATROOM | ErrorCode.RC_CHATROOM_USER_KICKED | ErrorCode.RC_CHATROOM_NOT_EXIST | ErrorCode.RC_CHATROOM_IS_FULL | ErrorCode.RC_CHATROOM_PATAMETER_INVALID | ErrorCode.CHATROOM_GET_HISTORYMSG_ERROR | ErrorCode.CHATROOM_NOT_OPEN_HISTORYMSG_STORE | ErrorCode.CHATROOM_KV_EXCEED | ErrorCode.CHATROOM_KV_OVERWRITE_INVALID | ErrorCode.CHATROOM_KV_STORE_NOT_OPEN | ErrorCode.CHATROOM_KEY_NOT_EXIST | ErrorCode.CHATROOM_KV_SET_ERROR | ErrorCode.SENSITIVE_SHIELD | ErrorCode.SENSITIVE_REPLACE | ErrorCode.JOIN_IN_DISCUSSION | ErrorCode.CREATE_DISCUSSION | ErrorCode.INVITE_DICUSSION | ErrorCode.GET_USERINFO_ERROR | ErrorCode.REJECTED_BY_BLACKLIST | ErrorCode.RC_NET_CHANNEL_INVALID | ErrorCode.RC_NET_UNAVAILABLE | ErrorCode.RC_MSG_RESP_TIMEOUT | ErrorCode.RC_HTTP_SEND_FAIL | ErrorCode.RC_HTTP_REQ_TIMEOUT | ErrorCode.RC_HTTP_RECV_FAIL | ErrorCode.RC_NAVI_RESOURCE_ERROR | ErrorCode.RC_NODE_NOT_FOUND | ErrorCode.RC_DOMAIN_NOT_RESOLVE | ErrorCode.RC_SOCKET_NOT_CREATED | ErrorCode.RC_SOCKET_DISCONNECTED | ErrorCode.RC_PING_SEND_FAIL | ErrorCode.RC_PONG_RECV_FAIL | ErrorCode.RC_MSG_SEND_FAIL | ErrorCode.RC_MSG_CONTENT_EXCEED_LIMIT | ErrorCode.RC_CONN_ACK_TIMEOUT | ErrorCode.RC_CONN_PROTO_VERSION_ERROR | ErrorCode.RC_CONN_ID_REJECT | ErrorCode.RC_CONN_SERVER_UNAVAILABLE | ErrorCode.RC_CONN_USER_OR_PASSWD_ERROR | ErrorCode.RC_CONN_NOT_AUTHRORIZED | ErrorCode.RC_CONN_REDIRECTED | ErrorCode.RC_CONN_PACKAGE_NAME_INVALID | ErrorCode.RC_CONN_APP_BLOCKED_OR_DELETED | ErrorCode.RC_CONN_USER_BLOCKED | ErrorCode.RC_DISCONN_KICK | ErrorCode.RC_DISCONN_EXCEPTION | ErrorCode.RC_APP_AUTH_NOT_PASS | ErrorCode.RC_OTP_USED | ErrorCode.RC_PLATFORM_ERROR | ErrorCode.RC_QUERY_ACK_NO_DATA | ErrorCode.RC_MSG_DATA_INCOMPLETE | ErrorCode.BIZ_ERROR_CLIENT_NOT_INIT | ErrorCode.BIZ_ERROR_DATABASE_ERROR | ErrorCode.BIZ_ERROR_INVALID_PARAMETER | ErrorCode.BIZ_ERROR_NO_CHANNEL | ErrorCode.BIZ_ERROR_RECONNECT_SUCCESS | ErrorCode.BIZ_ERROR_CONNECTING | ErrorCode.MSG_ROAMING_SERVICE_UNAVAILABLE | ErrorCode.MSG_INSERT_ERROR | ErrorCode.MSG_DEL_ERROR | ErrorCode.TAG_EXISTS | ErrorCode.TAG_NOT_EXIST | ErrorCode.NO_TAG_IN_CONVER | ErrorCode.CONVER_REMOVE_ERROR | ErrorCode.CONVER_GETLIST_ERROR | ErrorCode.CONVER_SETOP_ERROR | ErrorCode.CONVER_TOTAL_UNREAD_ERROR | ErrorCode.CONVER_TYPE_UNREAD_ERROR | ErrorCode.CONVER_ID_TYPE_UNREAD_ERROR | ErrorCode.CONVER_CLEAR_ERROR | ErrorCode.EXPANSION_LIMIT_EXCEET | ErrorCode.MESSAGE_KV_NOT_SUPPORT | ErrorCode.CLEAR_HIS_TIME_ERROR | ErrorCode.CONVER_OUT_LIMIT_ERROR | ErrorCode.CONVER_GET_ERROR | ErrorCode.GROUP_SYNC_ERROR | ErrorCode.GROUP_MATCH_ERROR | ErrorCode.READ_RECEIPT_ERROR | ErrorCode.PACKAGE_ENVIRONMENT_ERROR | ErrorCode.CAN_NOT_RECONNECT | ErrorCode.SERVER_UNAVAILABLE | ErrorCode.HOSTNAME_ERROR | ErrorCode.HAS_OHTER_SAME_CLIENT_ON_LINE | ErrorCode.METHOD_NOT_AVAILABLE | ErrorCode.METHOD_NOT_SUPPORT | ErrorCode.MSG_LIMIT_ERROR | ErrorCode.METHOD_ONLY_SUPPORT_ULTRA_GROUP | ErrorCode.UPLOAD_FILE_FAILED | ErrorCode.CHATROOM_ID_ISNULL | ErrorCode.CHARTOOM_JOIN_ERROR | ErrorCode.CHATROOM_HISMESSAGE_ERROR | ErrorCode.CHATROOM_KV_NOT_FOUND | ErrorCode.BLACK_ADD_ERROR | ErrorCode.BLACK_GETSTATUS_ERROR | ErrorCode.BLACK_REMOVE_ERROR | ErrorCode.DRAF_GET_ERROR | ErrorCode.DRAF_SAVE_ERROR | ErrorCode.DRAF_REMOVE_ERROR | ErrorCode.SUBSCRIBE_ERROR | ErrorCode.NOT_SUPPORT | ErrorCode.QNTKN_FILETYPE_ERROR | ErrorCode.QNTKN_GET_ERROR | ErrorCode.COOKIE_ENABLE | ErrorCode.GET_MESSAGE_BY_ID_ERROR | ErrorCode.HAVNODEVICEID | ErrorCode.DEVICEIDISHAVE | ErrorCode.FEILD | ErrorCode.VOIPISNULL | ErrorCode.NOENGINETYPE | ErrorCode.NULLCHANNELNAME | ErrorCode.VOIPDYANMICERROR | ErrorCode.NOVOIP | ErrorCode.INTERNALERRROR | ErrorCode.VOIPCLOSE | ErrorCode.ALREADY_IN_USE | ErrorCode.INVALID_CHANNEL_NAME | ErrorCode.VIDEO_CONTAINER_IS_NULL | ErrorCode.CANCEL | ErrorCode.REJECT | ErrorCode.HANGUP | ErrorCode.BUSYLINE | ErrorCode.NO_RESPONSE | ErrorCode.ENGINE_UN_SUPPORTED | ErrorCode.NETWORK_ERROR | ErrorCode.REMOTE_CANCEL | ErrorCode.REMOTE_REJECT | ErrorCode.REMOTE_HANGUP | ErrorCode.REMOTE_BUSYLINE | ErrorCode.REMOTE_NO_RESPONSE | ErrorCode.REMOTE_ENGINE_UN_SUPPORTED | ErrorCode.REMOTE_NETWORK_ERROR | ErrorCode.VOIP_NOT_AVALIABLE | ErrorCode.CHATROOM_KV_STORE_NOT_ALL_SUCCESS | ErrorCode.CHATROOM_KV_STORE_OUT_LIMIT;
|
|
1191
|
+
code: ErrorCode.TIMEOUT | ErrorCode.UNKNOWN | ErrorCode.PARAMETER_ERROR | ErrorCode.EXTRA_METHOD_UNDEFINED | ErrorCode.MAIN_PROCESS_ERROR | ErrorCode.PARAMETER_CHANGED | ErrorCode.RC_MSG_UNAUTHORIZED | ErrorCode.RC_DISCUSSION_GROUP_ID_INVALID | ErrorCode.SEND_FREQUENCY_TOO_FAST | ErrorCode.NOT_IN_DISCUSSION | ErrorCode.FORBIDDEN_IN_GROUP | ErrorCode.RECALL_MESSAGE | ErrorCode.NOT_IN_GROUP | ErrorCode.NOT_IN_CHATROOM | ErrorCode.FORBIDDEN_IN_CHATROOM | ErrorCode.RC_CHATROOM_USER_KICKED | ErrorCode.RC_CHATROOM_NOT_EXIST | ErrorCode.RC_CHATROOM_IS_FULL | ErrorCode.RC_CHATROOM_PATAMETER_INVALID | ErrorCode.CHATROOM_GET_HISTORYMSG_ERROR | ErrorCode.CHATROOM_NOT_OPEN_HISTORYMSG_STORE | ErrorCode.CHATROOM_KV_EXCEED | ErrorCode.CHATROOM_KV_OVERWRITE_INVALID | ErrorCode.CHATROOM_KV_STORE_NOT_OPEN | ErrorCode.CHATROOM_KEY_NOT_EXIST | ErrorCode.CHATROOM_KV_SET_ERROR | ErrorCode.SENSITIVE_SHIELD | ErrorCode.SENSITIVE_REPLACE | ErrorCode.JOIN_IN_DISCUSSION | ErrorCode.CREATE_DISCUSSION | ErrorCode.INVITE_DICUSSION | ErrorCode.GET_USERINFO_ERROR | ErrorCode.REJECTED_BY_BLACKLIST | ErrorCode.RC_NET_CHANNEL_INVALID | ErrorCode.RC_NET_UNAVAILABLE | ErrorCode.RC_MSG_RESP_TIMEOUT | ErrorCode.RC_HTTP_SEND_FAIL | ErrorCode.RC_HTTP_REQ_TIMEOUT | ErrorCode.RC_HTTP_RECV_FAIL | ErrorCode.RC_NAVI_RESOURCE_ERROR | ErrorCode.RC_NODE_NOT_FOUND | ErrorCode.RC_DOMAIN_NOT_RESOLVE | ErrorCode.RC_SOCKET_NOT_CREATED | ErrorCode.RC_SOCKET_DISCONNECTED | ErrorCode.RC_PING_SEND_FAIL | ErrorCode.RC_PONG_RECV_FAIL | ErrorCode.RC_MSG_SEND_FAIL | ErrorCode.RC_MSG_CONTENT_EXCEED_LIMIT | ErrorCode.RC_CONN_ACK_TIMEOUT | ErrorCode.RC_CONN_PROTO_VERSION_ERROR | ErrorCode.RC_CONN_ID_REJECT | ErrorCode.RC_CONN_SERVER_UNAVAILABLE | ErrorCode.RC_CONN_USER_OR_PASSWD_ERROR | ErrorCode.RC_CONN_NOT_AUTHRORIZED | ErrorCode.RC_CONN_REDIRECTED | ErrorCode.RC_CONN_PACKAGE_NAME_INVALID | ErrorCode.RC_CONN_APP_BLOCKED_OR_DELETED | ErrorCode.RC_CONN_USER_BLOCKED | ErrorCode.RC_DISCONN_KICK | ErrorCode.RC_DISCONN_EXCEPTION | ErrorCode.RC_DISCONN_SAME_CLIENT_ON_LINE | ErrorCode.RC_APP_AUTH_NOT_PASS | ErrorCode.RC_OTP_USED | ErrorCode.RC_PLATFORM_ERROR | ErrorCode.RC_QUERY_ACK_NO_DATA | ErrorCode.RC_MSG_DATA_INCOMPLETE | ErrorCode.BIZ_ERROR_CLIENT_NOT_INIT | ErrorCode.BIZ_ERROR_DATABASE_ERROR | ErrorCode.BIZ_ERROR_INVALID_PARAMETER | ErrorCode.BIZ_ERROR_NO_CHANNEL | ErrorCode.BIZ_ERROR_RECONNECT_SUCCESS | ErrorCode.BIZ_ERROR_CONNECTING | ErrorCode.MSG_ROAMING_SERVICE_UNAVAILABLE | ErrorCode.MSG_INSERT_ERROR | ErrorCode.MSG_DEL_ERROR | ErrorCode.TAG_EXISTS | ErrorCode.TAG_NOT_EXIST | ErrorCode.NO_TAG_IN_CONVER | ErrorCode.CONVER_REMOVE_ERROR | ErrorCode.CONVER_GETLIST_ERROR | ErrorCode.CONVER_SETOP_ERROR | ErrorCode.CONVER_TOTAL_UNREAD_ERROR | ErrorCode.CONVER_TYPE_UNREAD_ERROR | ErrorCode.CONVER_ID_TYPE_UNREAD_ERROR | ErrorCode.CONVER_CLEAR_ERROR | ErrorCode.EXPANSION_LIMIT_EXCEET | ErrorCode.MESSAGE_KV_NOT_SUPPORT | ErrorCode.CLEAR_HIS_TIME_ERROR | ErrorCode.CONVER_OUT_LIMIT_ERROR | ErrorCode.CONVER_GET_ERROR | ErrorCode.GROUP_SYNC_ERROR | ErrorCode.GROUP_MATCH_ERROR | ErrorCode.READ_RECEIPT_ERROR | ErrorCode.PACKAGE_ENVIRONMENT_ERROR | ErrorCode.CAN_NOT_RECONNECT | ErrorCode.SERVER_UNAVAILABLE | ErrorCode.HOSTNAME_ERROR | ErrorCode.HAS_OHTER_SAME_CLIENT_ON_LINE | ErrorCode.METHOD_NOT_AVAILABLE | ErrorCode.METHOD_NOT_SUPPORT | ErrorCode.MSG_LIMIT_ERROR | ErrorCode.METHOD_ONLY_SUPPORT_ULTRA_GROUP | ErrorCode.UPLOAD_FILE_FAILED | ErrorCode.CHATROOM_ID_ISNULL | ErrorCode.CHARTOOM_JOIN_ERROR | ErrorCode.CHATROOM_HISMESSAGE_ERROR | ErrorCode.CHATROOM_KV_NOT_FOUND | ErrorCode.BLACK_ADD_ERROR | ErrorCode.BLACK_GETSTATUS_ERROR | ErrorCode.BLACK_REMOVE_ERROR | ErrorCode.DRAF_GET_ERROR | ErrorCode.DRAF_SAVE_ERROR | ErrorCode.DRAF_REMOVE_ERROR | ErrorCode.SUBSCRIBE_ERROR | ErrorCode.NOT_SUPPORT | ErrorCode.QNTKN_FILETYPE_ERROR | ErrorCode.QNTKN_GET_ERROR | ErrorCode.COOKIE_ENABLE | ErrorCode.GET_MESSAGE_BY_ID_ERROR | ErrorCode.HAVNODEVICEID | ErrorCode.DEVICEIDISHAVE | ErrorCode.FEILD | ErrorCode.VOIPISNULL | ErrorCode.NOENGINETYPE | ErrorCode.NULLCHANNELNAME | ErrorCode.VOIPDYANMICERROR | ErrorCode.NOVOIP | ErrorCode.INTERNALERRROR | ErrorCode.VOIPCLOSE | ErrorCode.ALREADY_IN_USE | ErrorCode.INVALID_CHANNEL_NAME | ErrorCode.VIDEO_CONTAINER_IS_NULL | ErrorCode.CANCEL | ErrorCode.REJECT | ErrorCode.HANGUP | ErrorCode.BUSYLINE | ErrorCode.NO_RESPONSE | ErrorCode.ENGINE_UN_SUPPORTED | ErrorCode.NETWORK_ERROR | ErrorCode.REMOTE_CANCEL | ErrorCode.REMOTE_REJECT | ErrorCode.REMOTE_HANGUP | ErrorCode.REMOTE_BUSYLINE | ErrorCode.REMOTE_NO_RESPONSE | ErrorCode.REMOTE_ENGINE_UN_SUPPORTED | ErrorCode.REMOTE_NETWORK_ERROR | ErrorCode.VOIP_NOT_AVALIABLE | ErrorCode.CHATROOM_KV_STORE_NOT_ALL_SUCCESS | ErrorCode.CHATROOM_KV_STORE_OUT_LIMIT;
|
|
1087
1192
|
msg: string | undefined;
|
|
1088
1193
|
}>;
|
|
1089
1194
|
/**
|
|
@@ -1092,7 +1197,7 @@ declare function sendSyncReadStatusMessage(conversation: IConversationOption, la
|
|
|
1092
1197
|
*/
|
|
1093
1198
|
declare function recallMessage(conversation: IConversationOption, options: IRecallMessageOptions): Promise<IAsyncRes<IAReceivedMessage>>;
|
|
1094
1199
|
/**
|
|
1095
|
-
* 按消息
|
|
1200
|
+
* 按消息 UId 删除消息
|
|
1096
1201
|
*/
|
|
1097
1202
|
declare function deleteMessages(conversation: IConversationOption, messages: {
|
|
1098
1203
|
/**
|
|
@@ -1161,6 +1266,7 @@ declare function getFirstUnreadMessage(conversation: IConversationOption): Promi
|
|
|
1161
1266
|
* @param targetId 目标 ID
|
|
1162
1267
|
* @param content 消息体
|
|
1163
1268
|
* @param callback
|
|
1269
|
+
* @deprecated
|
|
1164
1270
|
*/
|
|
1165
1271
|
declare function insertMessage(conversation: IConversationOption, content: IReceivedMessage, options?: IInsertOptions): Promise<IAsyncRes<IAReceivedMessage>>;
|
|
1166
1272
|
/**
|
|
@@ -1176,10 +1282,12 @@ declare function getMessage(messageId: number): Promise<IAsyncRes<IAReceivedMess
|
|
|
1176
1282
|
declare function getUnreadMentionedMessages(conversation: IConversationOption): IAsyncRes<IAReceivedMessage[]>;
|
|
1177
1283
|
/**
|
|
1178
1284
|
* 按关键字搜索会话内的消息
|
|
1285
|
+
* @deprecated 已废弃,推荐使用 electronExtension.searchMessages 方法
|
|
1179
1286
|
* @param conversation 会话
|
|
1180
1287
|
* @param keyword 搜索内容
|
|
1181
1288
|
* @param timestamp 搜索时间, 搜索该时间之前的消息
|
|
1182
1289
|
* @param count 获取的数量
|
|
1290
|
+
* @deprecated
|
|
1183
1291
|
*/
|
|
1184
1292
|
declare function searchMessages(conversation: IConversationOption, keyword: string, timestamp: number, count: number): Promise<IAsyncRes<{
|
|
1185
1293
|
messages: IAReceivedMessage[];
|
|
@@ -1191,19 +1299,20 @@ declare function searchMessages(conversation: IConversationOption, keyword: stri
|
|
|
1191
1299
|
* @param timestamp 指定删除该时间戳之前的消息
|
|
1192
1300
|
* @param cleanSpace 指定删除该时间戳之前的消息。是否清理数据条目所使用的磁盘空间。清理磁盘空间会阻塞进程且耗时较长,不推荐使用。
|
|
1193
1301
|
* 数据在被抹除的情况下,未清理的磁盘空间会在后续存储操作中复用,且对数据查询无影响
|
|
1302
|
+
* @deprecated
|
|
1194
1303
|
*/
|
|
1195
1304
|
declare function deleteLocalMessagesByTimestamp(conversation: IConversationOption, timestamp: number, cleanSpace: boolean): Promise<IAsyncRes<void>>;
|
|
1196
1305
|
/**
|
|
1197
1306
|
* 清空会话下历史消息
|
|
1198
|
-
* @param
|
|
1199
|
-
* @
|
|
1200
|
-
* @param callback
|
|
1307
|
+
* @param conversation 会话
|
|
1308
|
+
* @deprecated
|
|
1201
1309
|
*/
|
|
1202
1310
|
declare function clearMessages(conversation: IConversationOption): Promise<IAsyncRes<void>>;
|
|
1203
1311
|
/**
|
|
1204
1312
|
* 按内容搜索会话
|
|
1205
1313
|
* @param keyword 关键字
|
|
1206
1314
|
* @param conversationTypes 会话类型数组
|
|
1315
|
+
* @deprecated
|
|
1207
1316
|
*/
|
|
1208
1317
|
declare function searchConversationByContent(keyword: string, conversationTypes?: ConversationType[], customMessageType?: string[], channelId?: string): Promise<IAsyncRes<IReceivedConversation[] | undefined>>;
|
|
1209
1318
|
/**
|
|
@@ -1216,6 +1325,7 @@ declare function searchConversationByContent(keyword: string, conversationTypes?
|
|
|
1216
1325
|
declare function clearUnreadCountByTimestamp(conversation: IConversationOption, timestamp: number): Promise<IAsyncRes<void>>;
|
|
1217
1326
|
/**
|
|
1218
1327
|
* 设置消息接收状态
|
|
1328
|
+
* @deprecated
|
|
1219
1329
|
*/
|
|
1220
1330
|
declare function setMessageReceivedStatus(messageId: number, receivedStatus: number): Promise<IAsyncRes<void>>;
|
|
1221
1331
|
|
|
@@ -1288,30 +1398,6 @@ declare function getUnreadCountByTag(tagId: string, containMuted: boolean): Prom
|
|
|
1288
1398
|
*/
|
|
1289
1399
|
declare function setConversationToTopInTag(tagId: string, conversation: IConversationOption, isTop: boolean): Promise<IAsyncRes<void>>;
|
|
1290
1400
|
|
|
1291
|
-
declare enum Events {
|
|
1292
|
-
CONNECTING = "CONNECTING",
|
|
1293
|
-
CONNECTED = "CONNECTED",
|
|
1294
|
-
DISCONNECT = "DISCONNECT",
|
|
1295
|
-
SUSPEND = "SUSPEND",
|
|
1296
|
-
MESSAGES = "MESSAGES",
|
|
1297
|
-
READ_RECEIPT_RECEIVED = "READ_RECEIPT_RECEIVED",
|
|
1298
|
-
MESSAGE_RECEIPT_REQUEST = "MESSAGE_RECEIPT_REQUEST",
|
|
1299
|
-
MESSAGE_RECEIPT_RESPONSE = "MESSAGE_RECEIPT_RESPONSE",
|
|
1300
|
-
CONVERSATION = "CONVERSATION",
|
|
1301
|
-
CHATROOM = "CHATROOM",
|
|
1302
|
-
EXPANSION = "EXPANSION",
|
|
1303
|
-
PULL_OFFLINE_MESSAGE_FINISHED = "PULL_OFFLINE_MESSAGE_FINISHED",
|
|
1304
|
-
TAG = "TAG",
|
|
1305
|
-
CONVERSATION_TAG = "CONVERSATION_TAG",
|
|
1306
|
-
TYPING_STATUS = "TYPING_STATUS",
|
|
1307
|
-
MESSAGE_BLOCKED = "MESSAGE_BLOCKED",
|
|
1308
|
-
ULTRA_GROUP_ENABLE = "ULTRA_GROUP_ENABLE",
|
|
1309
|
-
OPERATE_STATUS = "OPERATE_STATUS",
|
|
1310
|
-
ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED = "ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED",
|
|
1311
|
-
ULTRA_GROUP_MESSAGE_MODIFIED = "ULTRA_GROUP_MESSAGE_MODIFIED",
|
|
1312
|
-
ULTRA_GROUP_MESSAGE_RECALLED = "ULTRA_GROUP_MESSAGE_RECALLED"
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
1401
|
/**
|
|
1316
1402
|
* 获取文件 token
|
|
1317
1403
|
* @description 上传文件时,获取文件 token
|
|
@@ -1369,4 +1455,33 @@ declare const MessageType: {
|
|
|
1369
1455
|
RECALL_MESSAGE_TYPE: string;
|
|
1370
1456
|
};
|
|
1371
1457
|
|
|
1372
|
-
|
|
1458
|
+
declare const _default: {
|
|
1459
|
+
clearLocalData(): Promise<_rongcloud_engine.IAsyncRes<boolean>>;
|
|
1460
|
+
searchMessages(conversation: _rongcloud_engine.IConversationOption, keyword: string, startTime: number, count: number): Promise<_rongcloud_engine.IAsyncRes<{
|
|
1461
|
+
messages: IAReceivedMessage[];
|
|
1462
|
+
count: number | undefined;
|
|
1463
|
+
}>>;
|
|
1464
|
+
searchMessageInTimeRange(conversation: {
|
|
1465
|
+
conversationType: _rongcloud_engine_enums_ConversationType.default;
|
|
1466
|
+
targetId: string;
|
|
1467
|
+
}, option: ISearchMessageInTimeRangeOption): Promise<_rongcloud_engine.IAsyncRes<{
|
|
1468
|
+
messages: IAReceivedMessage[];
|
|
1469
|
+
}>>;
|
|
1470
|
+
getHistoryMessagesByMessageTypes(conversation: _rongcloud_engine.IConversationOption, option: IGetHistoryMessagesByTypesOption): Promise<_rongcloud_engine.IAsyncRes<{
|
|
1471
|
+
messages: IAReceivedMessage[];
|
|
1472
|
+
hasMore: boolean;
|
|
1473
|
+
}>>;
|
|
1474
|
+
setMessageStatusToRead(conversation: _rongcloud_engine.IConversationOption, timestamp: number): Promise<_rongcloud_engine.IAsyncRes<boolean>>;
|
|
1475
|
+
setMessageReceivedStatus(messageId: number, receivedStatus: _rongcloud_engine_enums_ReceivedStatus.default): Promise<_rongcloud_engine.IAsyncRes<any>>;
|
|
1476
|
+
setMessageSentStatus(messageId: number, sentStatus: SentStatus): Promise<_rongcloud_engine.IAsyncRes<any>>;
|
|
1477
|
+
setMessageContent(messageId: number, content: Object, messageType?: string): Promise<_rongcloud_engine.IAsyncRes<any>>;
|
|
1478
|
+
deleteMessages(messageIds: number[]): Promise<_rongcloud_engine.IAsyncRes<any>>;
|
|
1479
|
+
clearMessages(conversation: _rongcloud_engine.IConversationOption): Promise<_rongcloud_engine.IAsyncRes<void>>;
|
|
1480
|
+
deleteMessagesByTimestamp(conversation: _rongcloud_engine.IConversationOption, timestamp: number, cleanSpace: boolean): Promise<_rongcloud_engine.IAsyncRes<void>>;
|
|
1481
|
+
insertMessage(conversation: _rongcloud_engine.IConversationOption, message: IAReceivedMessage, options?: IInsertOptions): Promise<_rongcloud_engine.IAsyncRes<IAReceivedMessage>>;
|
|
1482
|
+
getAllConversationList(channelId?: string | undefined): Promise<_rongcloud_engine.IAsyncRes<IAReceivedConversation[]>>;
|
|
1483
|
+
getConversationList(startTime: number, count: number, channelId?: string | undefined): Promise<_rongcloud_engine.IAsyncRes<IAReceivedConversation[]>>;
|
|
1484
|
+
searchConversationByContent(keyword: string, messageTypes: string[], channelId?: string | undefined): Promise<_rongcloud_engine.IAsyncRes<IAReceivedConversation[]>>;
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
export { BaseMessage, _default$7 as CombineMessage, ConnectType, Events, _default$6 as FileMessage, _default$5 as GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, _default$a as HQVoiceMessage, IAReceivedConversation, IAReceivedMessage, ICombineMessageBody, IConversationUpdateItem, IFileMessageBody, IGIFMessageBody, IHQVoiceMessageBody, IImageMessageBody, IImageMessageOption, IInitOption, IInsertOptions, ILocationMessageBody, IReceivedUpdateConversation, IReferenceMessageBody, IRichContentMessageBody, ISearchMessageInTimeRangeOption, ISendFileMessageOptions, ISendImageMessageOptions, ISendMessageOptions, ISightMessageBody, ITextMessageBody, IThumbnailConfig, IUploadHooks, IUploadMessageOption, IVoiceMessageBody, _default$b as ImageMessage, _default$3 as LocationMessage, MentionedInfo$1 as MentionedInfo, MentionedInfo as MentionedInfoBody, MessageConstructor, MessageType, _default$2 as ReferenceMessage, _default$1 as RichContentMessage, SentStatus, _default$9 as SightMessage, _default$8 as TextMessage, _default$4 as VoiceMessage, __addSDKVersion, addConversationsToTag, addEventListener, addTag, addToBlacklist, bindRTCRoomForChatroom, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages, clearMessagesUnreadStatus, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, deleteLocalMessagesByTimestamp, deleteMessages, disconnect, _default as electronExtension, forceRemoveChatRoomEntry, forceSetChatRoomEntry, getAllChatRoomEntries, getAllConversationState, getAllUltraGroupUnreadCount, getAllUltraGroupUnreadMentionedCount, getAllUnreadMentionedCount, getBlacklist, getBlacklistStatus, getBlockUltraGroupList, getBlockedConversationList, getChatRoomEntry, getChatRoomInfo, getChatroomHistoryMessages, getConnectionStatus, getConversation, getConversationList, getConversationNotificationLevel, getConversationNotificationStatus, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getFileToken, getFileUrl, getFirstUnreadMessage, getHistoryMessages, getMessage, getMessageReader, getRemoteHistoryMessages, getServerTime, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getUltraGroupDefaultNotificationLevel, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadMentionedCountByTargetId, getUnreadCount, getUnreadCountByTag, getUnreadMentionedCount, getUnreadMentionedMessages, init, insertMessage, installPlugin, joinChatRoom, joinExistChatRoom, modifyMessage, onceEventListener, quitChatRoom, recallMessage, registerMessageType, removeAllExpansionForUltraGroupMessage, removeChatRoomEntries, removeChatRoomEntry, removeConversation, removeConversationsFromTag, removeEventListener, removeEventListeners, removeExpansionForUltraGroupMessage, removeFromBlacklist, removeMessageExpansionForKey, removeTag, removeTagFromConversations, removeTagsFromConversation, saveTextMessageDraft, searchConversationByContent, searchMessages, sendFileMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setMessageReceivedStatus, setUltraGroupDefaultNotificationLevel, updateExpansionForUltraGroupMessage, updateMessageExpansion, updateTag };
|