sim-sdk-web 1.0.2 → 1.0.6
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/lib/api/conversation.d.ts +25 -0
- package/lib/api/friend.d.ts +21 -0
- package/lib/api/group.d.ts +32 -0
- package/lib/api/index.d.ts +140 -0
- package/lib/api/message.d.ts +36 -0
- package/lib/api/user.d.ts +16 -0
- package/lib/constant/api.d.ts +110 -0
- package/lib/constant/callback.d.ts +59 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.es.js +1 -0
- package/lib/index.js +1 -0
- package/lib/index.umd.js +1 -0
- package/lib/types/entity.d.ts +400 -0
- package/lib/types/enum.d.ts +133 -0
- package/lib/types/params.d.ts +260 -0
- package/lib/types/upload.d.ts +44 -0
- package/lib/utils/SseManager.d.ts +25 -0
- package/lib/utils/emitter.d.ts +11 -0
- package/lib/utils/request.d.ts +17 -0
- package/lib/utils/upload.d.ts +9 -0
- package/lib/utils/uuid.d.ts +1 -0
- package/package.json +2 -15
- package/dist/sim-sdk.min.js +0 -10
- package/dist/sim-sdk.umd.min.js +0 -10
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import { RequestApi } from '../constant/api';
|
|
2
|
+
import type { AllowType, ApplicationHandleResult, GroupJoinSource, GroupMemberRole, GroupStatus, GroupType, GroupVerificationType, MessageReceiveOptType, MessageType, OnlineState, Platform, Relationship, SessionType } from './enum';
|
|
3
|
+
import { HttpMethod } from '../utils/request';
|
|
4
|
+
export interface WsRequest {
|
|
5
|
+
url: RequestApi;
|
|
6
|
+
username?: string;
|
|
7
|
+
data: Record<string, any> | undefined;
|
|
8
|
+
method: HttpMethod;
|
|
9
|
+
}
|
|
10
|
+
export interface SseResponse<T = unknown> {
|
|
11
|
+
type?: MessageType;
|
|
12
|
+
code: number;
|
|
13
|
+
msg: string;
|
|
14
|
+
data: T;
|
|
15
|
+
timestamp?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface PromiseMap {
|
|
18
|
+
resolve: (response: SseResponse) => void;
|
|
19
|
+
reject: (response: SseResponse) => void;
|
|
20
|
+
}
|
|
21
|
+
export type Pagination = {
|
|
22
|
+
offset: number;
|
|
23
|
+
count: number;
|
|
24
|
+
};
|
|
25
|
+
export type MessageEntity = {
|
|
26
|
+
type: string;
|
|
27
|
+
offset: number;
|
|
28
|
+
length: number;
|
|
29
|
+
url?: string;
|
|
30
|
+
info?: string;
|
|
31
|
+
};
|
|
32
|
+
export type PicBaseInfo = {
|
|
33
|
+
uuid: string;
|
|
34
|
+
type: string;
|
|
35
|
+
size: number;
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
url: string;
|
|
39
|
+
};
|
|
40
|
+
export type AtUsersInfoItem = {
|
|
41
|
+
atUserID: string;
|
|
42
|
+
groupNickname: string;
|
|
43
|
+
};
|
|
44
|
+
export type GroupApplicationItem = {
|
|
45
|
+
createTime: number;
|
|
46
|
+
creatorUserID: string;
|
|
47
|
+
ex: string;
|
|
48
|
+
groupFaceURL: string;
|
|
49
|
+
groupID: string;
|
|
50
|
+
groupName: string;
|
|
51
|
+
groupType: GroupType;
|
|
52
|
+
handleResult: ApplicationHandleResult;
|
|
53
|
+
handleUserID: string;
|
|
54
|
+
handledMsg: string;
|
|
55
|
+
handledTime: number;
|
|
56
|
+
introduction: string;
|
|
57
|
+
memberCount: number;
|
|
58
|
+
nickname: string;
|
|
59
|
+
notification: string;
|
|
60
|
+
ownerUserID: string;
|
|
61
|
+
reqMsg: string;
|
|
62
|
+
reqTime: number;
|
|
63
|
+
joinSource: GroupJoinSource;
|
|
64
|
+
status: GroupStatus;
|
|
65
|
+
userFaceURL: string;
|
|
66
|
+
userId: string;
|
|
67
|
+
};
|
|
68
|
+
export type FriendApplicationItem = {
|
|
69
|
+
createTime: number;
|
|
70
|
+
ex: string;
|
|
71
|
+
fromFaceURL: string;
|
|
72
|
+
fromNickname: string;
|
|
73
|
+
fromUserID: string;
|
|
74
|
+
handleMsg: string;
|
|
75
|
+
handleResult: ApplicationHandleResult;
|
|
76
|
+
handleTime: number;
|
|
77
|
+
handlerUserID: string;
|
|
78
|
+
reqMsg: string;
|
|
79
|
+
toFaceURL: string;
|
|
80
|
+
toNickname: string;
|
|
81
|
+
toUserID: string;
|
|
82
|
+
};
|
|
83
|
+
export type FullUserItem = {
|
|
84
|
+
blackInfo: BlackUserItem | null;
|
|
85
|
+
friendInfo: FriendUserItem | null;
|
|
86
|
+
publicInfo: PublicUserItem | null;
|
|
87
|
+
};
|
|
88
|
+
export type FullUserItemWithCache = {
|
|
89
|
+
blackInfo: BlackUserItem | null;
|
|
90
|
+
friendInfo: FriendUserItem | null;
|
|
91
|
+
publicInfo: PublicUserItem | null;
|
|
92
|
+
groupMemberInfo: GroupMemberItem | null;
|
|
93
|
+
};
|
|
94
|
+
export type PublicUserItem = {
|
|
95
|
+
nickname: string;
|
|
96
|
+
userId: string;
|
|
97
|
+
faceURL: string;
|
|
98
|
+
ex: string;
|
|
99
|
+
};
|
|
100
|
+
export type SelfUserInfo = {
|
|
101
|
+
createTime: number;
|
|
102
|
+
ex: string;
|
|
103
|
+
faceURL: string;
|
|
104
|
+
nickname: string;
|
|
105
|
+
userId: string;
|
|
106
|
+
globalRecvMsgOpt: MessageReceiveOptType;
|
|
107
|
+
};
|
|
108
|
+
export type PartialUserInfo = {
|
|
109
|
+
userId: string;
|
|
110
|
+
} & Partial<Omit<SelfUserInfo, 'userId'>>;
|
|
111
|
+
export type FriendUserItem = {
|
|
112
|
+
addSource: number;
|
|
113
|
+
createTime: number;
|
|
114
|
+
ex: string;
|
|
115
|
+
faceURL: string;
|
|
116
|
+
userId: string;
|
|
117
|
+
nickname: string;
|
|
118
|
+
operatorUserID: string;
|
|
119
|
+
ownerUserID: string;
|
|
120
|
+
remark: string;
|
|
121
|
+
attachedInfo: string;
|
|
122
|
+
};
|
|
123
|
+
export type SearchedFriendsInfo = FriendUserItem & {
|
|
124
|
+
relationship: Relationship;
|
|
125
|
+
};
|
|
126
|
+
export type FriendshipInfo = {
|
|
127
|
+
result: number;
|
|
128
|
+
userId: string;
|
|
129
|
+
};
|
|
130
|
+
export type BlackUserItem = {
|
|
131
|
+
addSource: number;
|
|
132
|
+
userId: string;
|
|
133
|
+
createTime: number;
|
|
134
|
+
ex: string;
|
|
135
|
+
faceURL: string;
|
|
136
|
+
nickname: string;
|
|
137
|
+
operatorUserID: string;
|
|
138
|
+
ownerUserID: string;
|
|
139
|
+
};
|
|
140
|
+
export type GroupItem = {
|
|
141
|
+
groupID: string;
|
|
142
|
+
groupName: string;
|
|
143
|
+
notification: string;
|
|
144
|
+
notificationUserID: string;
|
|
145
|
+
notificationUpdateTime: number;
|
|
146
|
+
introduction: string;
|
|
147
|
+
faceURL: string;
|
|
148
|
+
ownerUserID: string;
|
|
149
|
+
createTime: number;
|
|
150
|
+
memberCount: number;
|
|
151
|
+
status: GroupStatus;
|
|
152
|
+
creatorUserID: string;
|
|
153
|
+
groupType: GroupType;
|
|
154
|
+
needVerification: GroupVerificationType;
|
|
155
|
+
ex: string;
|
|
156
|
+
applyMemberFriend: AllowType;
|
|
157
|
+
lookMemberInfo: AllowType;
|
|
158
|
+
};
|
|
159
|
+
export type GroupMemberItem = {
|
|
160
|
+
groupID: string;
|
|
161
|
+
userId: string;
|
|
162
|
+
nickname: string;
|
|
163
|
+
faceURL: string;
|
|
164
|
+
roleLevel: GroupMemberRole;
|
|
165
|
+
muteEndTime: number;
|
|
166
|
+
joinTime: number;
|
|
167
|
+
joinSource: GroupJoinSource;
|
|
168
|
+
inviterUserID: string;
|
|
169
|
+
operatorUserID: string;
|
|
170
|
+
ex: string;
|
|
171
|
+
};
|
|
172
|
+
export type ConversationItem = {
|
|
173
|
+
id: number;
|
|
174
|
+
name: string;
|
|
175
|
+
groupType: number;
|
|
176
|
+
avatar: string;
|
|
177
|
+
status: number;
|
|
178
|
+
latest: MessageItem;
|
|
179
|
+
};
|
|
180
|
+
export type MessageItem = {
|
|
181
|
+
id: number;
|
|
182
|
+
msgId: string;
|
|
183
|
+
groupType: number;
|
|
184
|
+
groupId: number;
|
|
185
|
+
replyMsgId: number;
|
|
186
|
+
clientMsgId: string;
|
|
187
|
+
userId: number;
|
|
188
|
+
send: number;
|
|
189
|
+
to: number;
|
|
190
|
+
msgType: number;
|
|
191
|
+
text?: string;
|
|
192
|
+
link?: string;
|
|
193
|
+
snapshot?: string;
|
|
194
|
+
createTime: Date;
|
|
195
|
+
updateTime?: Date;
|
|
196
|
+
status: number;
|
|
197
|
+
};
|
|
198
|
+
export type TextElem = {
|
|
199
|
+
content: string;
|
|
200
|
+
};
|
|
201
|
+
export type CardElem = {
|
|
202
|
+
userId: string;
|
|
203
|
+
nickname: string;
|
|
204
|
+
faceURL: string;
|
|
205
|
+
ex: string;
|
|
206
|
+
};
|
|
207
|
+
export type AtTextElem = {
|
|
208
|
+
text: string;
|
|
209
|
+
atUserList: string[];
|
|
210
|
+
atUsersInfo?: AtUsersInfoItem[];
|
|
211
|
+
quoteMessage?: MessageItem;
|
|
212
|
+
isAtSelf?: boolean;
|
|
213
|
+
};
|
|
214
|
+
export type NotificationElem = {
|
|
215
|
+
detail: string;
|
|
216
|
+
};
|
|
217
|
+
export type AdvancedTextElem = {
|
|
218
|
+
text: string;
|
|
219
|
+
messageEntityList: MessageEntity[];
|
|
220
|
+
};
|
|
221
|
+
export type TypingElem = {
|
|
222
|
+
msgTips: string;
|
|
223
|
+
};
|
|
224
|
+
export type CustomElem = {
|
|
225
|
+
data: string;
|
|
226
|
+
description: string;
|
|
227
|
+
extension: string;
|
|
228
|
+
};
|
|
229
|
+
export type FileElem = {
|
|
230
|
+
filePath: string;
|
|
231
|
+
uuid: string;
|
|
232
|
+
sourceUrl: string;
|
|
233
|
+
fileName: string;
|
|
234
|
+
fileSize: number;
|
|
235
|
+
};
|
|
236
|
+
export type FaceElem = {
|
|
237
|
+
index: number;
|
|
238
|
+
data: string;
|
|
239
|
+
};
|
|
240
|
+
export type LocationElem = {
|
|
241
|
+
description: string;
|
|
242
|
+
longitude: number;
|
|
243
|
+
latitude: number;
|
|
244
|
+
};
|
|
245
|
+
export type MergeElem = {
|
|
246
|
+
title: string;
|
|
247
|
+
abstractList: string[];
|
|
248
|
+
multiMessage: MessageItem[];
|
|
249
|
+
messageEntityList: MessageEntity[];
|
|
250
|
+
};
|
|
251
|
+
export type OfflinePush = {
|
|
252
|
+
title: string;
|
|
253
|
+
desc: string;
|
|
254
|
+
ex: string;
|
|
255
|
+
iOSPushSound: string;
|
|
256
|
+
iOSBadgeCount: boolean;
|
|
257
|
+
};
|
|
258
|
+
export type PictureElem = {
|
|
259
|
+
sourcePath: string;
|
|
260
|
+
sourcePicture: Picture;
|
|
261
|
+
bigPicture: Picture;
|
|
262
|
+
snapshotPicture: Picture;
|
|
263
|
+
};
|
|
264
|
+
export type AttachedInfoElem = {
|
|
265
|
+
groupHasReadInfo: GroupHasReadInfo;
|
|
266
|
+
isPrivateChat: boolean;
|
|
267
|
+
isEncryption: boolean;
|
|
268
|
+
inEncryptStatus: boolean;
|
|
269
|
+
burnDuration: number;
|
|
270
|
+
hasReadTime: number;
|
|
271
|
+
notSenderNotificationPush: boolean;
|
|
272
|
+
messageEntityList: MessageEntity[];
|
|
273
|
+
uploadProgress: UploadProgress;
|
|
274
|
+
};
|
|
275
|
+
export type UploadProgress = {
|
|
276
|
+
total: number;
|
|
277
|
+
save: number;
|
|
278
|
+
current: number;
|
|
279
|
+
};
|
|
280
|
+
export type GroupHasReadInfo = {
|
|
281
|
+
hasReadCount: number;
|
|
282
|
+
unreadCount: number;
|
|
283
|
+
hasReadUserIDList: string[];
|
|
284
|
+
groupMemberCount: number;
|
|
285
|
+
};
|
|
286
|
+
export type Picture = {
|
|
287
|
+
uuid: string;
|
|
288
|
+
type: string;
|
|
289
|
+
size: number;
|
|
290
|
+
width: number;
|
|
291
|
+
height: number;
|
|
292
|
+
url: string;
|
|
293
|
+
};
|
|
294
|
+
export type QuoteElem = {
|
|
295
|
+
text: string;
|
|
296
|
+
quoteMessage: MessageItem;
|
|
297
|
+
};
|
|
298
|
+
export type SoundElem = {
|
|
299
|
+
uuid: string;
|
|
300
|
+
soundPath: string;
|
|
301
|
+
sourceUrl: string;
|
|
302
|
+
dataSize: number;
|
|
303
|
+
duration: number;
|
|
304
|
+
};
|
|
305
|
+
export type VideoElem = {
|
|
306
|
+
videoPath: string;
|
|
307
|
+
videoUUID: string;
|
|
308
|
+
videoUrl: string;
|
|
309
|
+
videoType: string;
|
|
310
|
+
videoSize: number;
|
|
311
|
+
duration: number;
|
|
312
|
+
snapshotPath: string;
|
|
313
|
+
snapshotUUID: string;
|
|
314
|
+
snapshotSize: number;
|
|
315
|
+
snapshotUrl: string;
|
|
316
|
+
snapshotWidth: number;
|
|
317
|
+
snapshotHeight: number;
|
|
318
|
+
};
|
|
319
|
+
export type AdvancedRevokeContent = {
|
|
320
|
+
clientMsgID: string;
|
|
321
|
+
revokeTime: number;
|
|
322
|
+
revokerID: string;
|
|
323
|
+
revokerNickname: string;
|
|
324
|
+
revokerRole: number;
|
|
325
|
+
seq: number;
|
|
326
|
+
sessionType: SessionType;
|
|
327
|
+
sourceMessageSendID: string;
|
|
328
|
+
sourceMessageSendTime: number;
|
|
329
|
+
sourceMessageSenderNickname: string;
|
|
330
|
+
};
|
|
331
|
+
export type RevokedInfo = {
|
|
332
|
+
revokerID: string;
|
|
333
|
+
revokerRole: number;
|
|
334
|
+
clientMsgID: string;
|
|
335
|
+
revokerNickname: string;
|
|
336
|
+
revokeTime: number;
|
|
337
|
+
sourceMessageSendTime: number;
|
|
338
|
+
sourceMessageSendID: string;
|
|
339
|
+
sourceMessageSenderNickname: string;
|
|
340
|
+
sessionType: number;
|
|
341
|
+
seq: number;
|
|
342
|
+
ex: string;
|
|
343
|
+
};
|
|
344
|
+
export type ReceiptInfo = {
|
|
345
|
+
userId: string;
|
|
346
|
+
groupID: string;
|
|
347
|
+
msgIDList: string[];
|
|
348
|
+
readTime: number;
|
|
349
|
+
msgFrom: number;
|
|
350
|
+
contentType: MessageType;
|
|
351
|
+
sessionType: SessionType;
|
|
352
|
+
};
|
|
353
|
+
export type SearchMessageResult = {
|
|
354
|
+
totalCount: number;
|
|
355
|
+
searchResultItems?: SearchMessageResultItem[];
|
|
356
|
+
findResultItems?: SearchMessageResultItem[];
|
|
357
|
+
};
|
|
358
|
+
export type SearchMessageResultItem = {
|
|
359
|
+
conversationID: string;
|
|
360
|
+
messageCount: number;
|
|
361
|
+
conversationType: SessionType;
|
|
362
|
+
showName: string;
|
|
363
|
+
faceURL: string;
|
|
364
|
+
messageList: MessageItem[];
|
|
365
|
+
};
|
|
366
|
+
export type AdvancedGetMessageResult = {
|
|
367
|
+
isEnd: boolean;
|
|
368
|
+
lastMinSeq: number;
|
|
369
|
+
errCode: number;
|
|
370
|
+
errMsg: string;
|
|
371
|
+
messageList: MessageItem[];
|
|
372
|
+
};
|
|
373
|
+
export type RtcInvite = {
|
|
374
|
+
inviterUserID: string;
|
|
375
|
+
inviteeUserIDList: string[];
|
|
376
|
+
customData?: string;
|
|
377
|
+
groupID: string;
|
|
378
|
+
roomID: string;
|
|
379
|
+
timeout: number;
|
|
380
|
+
mediaType: string;
|
|
381
|
+
sessionType: number;
|
|
382
|
+
platformID: number;
|
|
383
|
+
initiateTime?: number;
|
|
384
|
+
busyLineUserIDList?: string[];
|
|
385
|
+
};
|
|
386
|
+
export type UserOnlineState = {
|
|
387
|
+
platformIDs?: Platform[];
|
|
388
|
+
status: OnlineState;
|
|
389
|
+
userId: string;
|
|
390
|
+
};
|
|
391
|
+
export type GroupMessageReceiptInfo = {
|
|
392
|
+
conversationID: string;
|
|
393
|
+
groupMessageReadInfo: GroupMessageReadInfo[];
|
|
394
|
+
};
|
|
395
|
+
export type GroupMessageReadInfo = {
|
|
396
|
+
clientMsgID: string;
|
|
397
|
+
hasReadCount: number;
|
|
398
|
+
unreadCount: number;
|
|
399
|
+
readMembers: GroupMemberItem[];
|
|
400
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export declare enum MessageReceiveOptType {
|
|
2
|
+
Nomal = 0,
|
|
3
|
+
NotReceive = 1,
|
|
4
|
+
NotNotify = 2
|
|
5
|
+
}
|
|
6
|
+
export declare enum AllowType {
|
|
7
|
+
Allowed = 0,
|
|
8
|
+
NotAllowed = 1
|
|
9
|
+
}
|
|
10
|
+
export declare enum GroupType {
|
|
11
|
+
Group = 2,
|
|
12
|
+
WorkingGroup = 2
|
|
13
|
+
}
|
|
14
|
+
export declare enum GroupJoinSource {
|
|
15
|
+
Invitation = 2,
|
|
16
|
+
Search = 3,
|
|
17
|
+
QrCode = 4
|
|
18
|
+
}
|
|
19
|
+
export declare enum GroupMemberRole {
|
|
20
|
+
Nomal = 20,
|
|
21
|
+
Admin = 60,
|
|
22
|
+
Owner = 100
|
|
23
|
+
}
|
|
24
|
+
export declare enum GroupVerificationType {
|
|
25
|
+
ApplyNeedInviteNot = 0,
|
|
26
|
+
AllNeed = 1,
|
|
27
|
+
AllNot = 2
|
|
28
|
+
}
|
|
29
|
+
export declare enum MessageStatus {
|
|
30
|
+
Sending = 1,
|
|
31
|
+
Succeed = 2,
|
|
32
|
+
Failed = 3
|
|
33
|
+
}
|
|
34
|
+
export declare enum Platform {
|
|
35
|
+
iOS = 1,
|
|
36
|
+
Android = 2,
|
|
37
|
+
Windows = 3,
|
|
38
|
+
MacOSX = 4,
|
|
39
|
+
Web = 5,
|
|
40
|
+
Linux = 7,
|
|
41
|
+
AndroidPad = 8,
|
|
42
|
+
iPad = 9
|
|
43
|
+
}
|
|
44
|
+
export declare enum LogLevel {
|
|
45
|
+
Debug = 5,
|
|
46
|
+
Info = 4,
|
|
47
|
+
Warn = 3,
|
|
48
|
+
Error = 2,
|
|
49
|
+
Fatal = 1,
|
|
50
|
+
Panic = 0
|
|
51
|
+
}
|
|
52
|
+
export declare enum ApplicationHandleResult {
|
|
53
|
+
Unprocessed = 0,
|
|
54
|
+
Agree = 1,
|
|
55
|
+
Reject = -1
|
|
56
|
+
}
|
|
57
|
+
export declare enum MessageType {
|
|
58
|
+
MESSAGE_TYPE_TEXT = 0,
|
|
59
|
+
TextMessage = 101,
|
|
60
|
+
PictureMessage = 102,
|
|
61
|
+
VoiceMessage = 103,
|
|
62
|
+
VideoMessage = 104,
|
|
63
|
+
FileMessage = 105,
|
|
64
|
+
AtTextMessage = 106,
|
|
65
|
+
MergeMessage = 107,
|
|
66
|
+
CardMessage = 108,
|
|
67
|
+
LocationMessage = 109,
|
|
68
|
+
CustomMessage = 110,
|
|
69
|
+
TypingMessage = 113,
|
|
70
|
+
QuoteMessage = 114,
|
|
71
|
+
FaceMessage = 115,
|
|
72
|
+
FriendAdded = 1201,
|
|
73
|
+
OANotification = 1400,
|
|
74
|
+
GroupCreated = 1501,
|
|
75
|
+
MemberQuit = 1504,
|
|
76
|
+
GroupOwnerTransferred = 1507,
|
|
77
|
+
MemberKicked = 1508,
|
|
78
|
+
MemberInvited = 1509,
|
|
79
|
+
MemberEnter = 1510,
|
|
80
|
+
GroupDismissed = 1511,
|
|
81
|
+
GroupMemberMuted = 1512,
|
|
82
|
+
GroupMemberCancelMuted = 1513,
|
|
83
|
+
GroupMuted = 1514,
|
|
84
|
+
GroupCancelMuted = 1515,
|
|
85
|
+
GroupAnnouncementUpdated = 1519,
|
|
86
|
+
GroupNameUpdated = 1520,
|
|
87
|
+
BurnMessageChange = 1701,
|
|
88
|
+
RevokeMessage = 2101
|
|
89
|
+
}
|
|
90
|
+
export declare enum SessionType {
|
|
91
|
+
Single = 1,
|
|
92
|
+
Group = 3,
|
|
93
|
+
WorkingGroup = 3,
|
|
94
|
+
Notification = 4
|
|
95
|
+
}
|
|
96
|
+
export declare enum GroupStatus {
|
|
97
|
+
Nomal = 0,
|
|
98
|
+
Baned = 1,
|
|
99
|
+
Dismissed = 2,
|
|
100
|
+
Muted = 3
|
|
101
|
+
}
|
|
102
|
+
export declare enum GroupAtType {
|
|
103
|
+
AtNormal = 0,
|
|
104
|
+
AtMe = 1,
|
|
105
|
+
AtAll = 2,
|
|
106
|
+
AtAllAtMe = 3,
|
|
107
|
+
AtGroupNotice = 4
|
|
108
|
+
}
|
|
109
|
+
export declare enum GroupMemberFilter {
|
|
110
|
+
All = 0,
|
|
111
|
+
Owner = 1,
|
|
112
|
+
Admin = 2,
|
|
113
|
+
Nomal = 3,
|
|
114
|
+
AdminAndNomal = 4,
|
|
115
|
+
AdminAndOwner = 5
|
|
116
|
+
}
|
|
117
|
+
export declare enum Relationship {
|
|
118
|
+
isBlack = 0,
|
|
119
|
+
isFriend = 1
|
|
120
|
+
}
|
|
121
|
+
export declare enum LoginStatus {
|
|
122
|
+
Logout = 1,
|
|
123
|
+
Logging = 2,
|
|
124
|
+
Logged = 3
|
|
125
|
+
}
|
|
126
|
+
export declare enum OnlineState {
|
|
127
|
+
Online = 1,
|
|
128
|
+
Offline = 0
|
|
129
|
+
}
|
|
130
|
+
export declare enum GroupMessageReaderFilter {
|
|
131
|
+
Readed = 0,
|
|
132
|
+
UnRead = 1
|
|
133
|
+
}
|