@queenanya/baileys 6.7.0 → 6.8.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/WASignalGroup/readme.md +6 -0
- package/lib/Defaults/baileys-version.json +3 -3
- package/lib/Defaults/index.d.ts +284 -284
- package/lib/Defaults/index.js +120 -120
- package/lib/Defaults/phonenumber-mcc.json +223 -223
- package/lib/Signal/libsignal.d.ts +3 -3
- package/lib/Signal/libsignal.js +152 -152
- package/lib/Socket/Client/abstract-socket-client.d.ts +17 -17
- package/lib/Socket/Client/abstract-socket-client.js +13 -13
- package/lib/Socket/Client/index.d.ts +3 -3
- package/lib/Socket/Client/index.js +19 -19
- package/lib/Socket/Client/mobile-socket-client.d.ts +13 -13
- package/lib/Socket/Client/mobile-socket-client.js +65 -65
- package/lib/Socket/Client/web-socket-client.d.ts +12 -12
- package/lib/Socket/Client/web-socket-client.js +62 -62
- package/lib/Socket/business.d.ts +135 -135
- package/lib/Socket/business.js +259 -259
- package/lib/Socket/chats.d.ts +79 -79
- package/lib/Socket/chats.js +854 -854
- package/lib/Socket/groups.d.ts +113 -113
- package/lib/Socket/groups.js +302 -302
- package/lib/Socket/index.d.ts +137 -137
- package/lib/Socket/index.js +10 -10
- package/lib/Socket/messages-recv.d.ts +124 -124
- package/lib/Socket/messages-recv.js +747 -747
- package/lib/Socket/messages-send.d.ts +119 -119
- package/lib/Socket/messages-send.js +663 -663
- package/lib/Socket/registration.d.ts +232 -232
- package/lib/Socket/registration.js +166 -166
- package/lib/Socket/socket.d.ts +42 -42
- package/lib/Socket/socket.js +588 -588
- package/lib/Store/index.d.ts +3 -3
- package/lib/Store/index.js +10 -10
- package/lib/Store/make-cache-manager-store.d.ts +13 -13
- package/lib/Store/make-cache-manager-store.js +83 -83
- package/lib/Store/make-in-memory-store.d.ts +117 -117
- package/lib/Store/make-in-memory-store.js +437 -437
- package/lib/Store/make-ordered-dictionary.d.ts +13 -13
- package/lib/Store/make-ordered-dictionary.js +81 -81
- package/lib/Store/object-repository.d.ts +10 -10
- package/lib/Store/object-repository.js +27 -27
- package/lib/Types/Auth.d.ts +108 -108
- package/lib/Types/Auth.js +2 -2
- package/lib/Types/Call.d.ts +13 -13
- package/lib/Types/Call.js +2 -2
- package/lib/Types/Chat.d.ts +102 -102
- package/lib/Types/Chat.js +4 -4
- package/lib/Types/Contact.d.ts +19 -19
- package/lib/Types/Contact.js +2 -2
- package/lib/Types/Events.d.ts +157 -157
- package/lib/Types/Events.js +2 -2
- package/lib/Types/GroupMetadata.d.ts +52 -52
- package/lib/Types/GroupMetadata.js +2 -2
- package/lib/Types/Label.d.ts +35 -35
- package/lib/Types/Label.js +27 -27
- package/lib/Types/LabelAssociation.d.ts +29 -29
- package/lib/Types/LabelAssociation.js +9 -9
- package/lib/Types/Message.d.ts +261 -261
- package/lib/Types/Message.js +9 -9
- package/lib/Types/Product.d.ts +78 -78
- package/lib/Types/Product.js +2 -2
- package/lib/Types/Signal.d.ts +57 -57
- package/lib/Types/Signal.js +2 -2
- package/lib/Types/Socket.d.ts +111 -111
- package/lib/Types/Socket.js +2 -2
- package/lib/Types/State.d.ts +27 -27
- package/lib/Types/State.js +2 -2
- package/lib/Types/index.d.ts +56 -56
- package/lib/Types/index.js +41 -41
- package/lib/Utils/auth-utils.d.ts +18 -18
- package/lib/Utils/auth-utils.js +204 -204
- package/lib/Utils/baileys-event-stream.d.ts +16 -16
- package/lib/Utils/baileys-event-stream.js +63 -63
- package/lib/Utils/business.d.ts +22 -22
- package/lib/Utils/business.js +234 -234
- package/lib/Utils/chat-utils.d.ts +71 -71
- package/lib/Utils/chat-utils.js +724 -724
- package/lib/Utils/crypto.d.ts +41 -41
- package/lib/Utils/crypto.js +151 -151
- package/lib/Utils/decode-wa-message.d.ts +19 -19
- package/lib/Utils/decode-wa-message.js +174 -174
- package/lib/Utils/event-buffer.d.ts +35 -35
- package/lib/Utils/event-buffer.js +514 -514
- package/lib/Utils/generics.d.ts +94 -94
- package/lib/Utils/generics.js +367 -367
- package/lib/Utils/history.d.ts +15 -15
- package/lib/Utils/history.js +91 -91
- package/lib/Utils/index.d.ts +17 -17
- package/lib/Utils/index.js +33 -33
- package/lib/Utils/link-preview.d.ts +21 -21
- package/lib/Utils/link-preview.js +93 -93
- package/lib/Utils/logger.d.ts +4 -4
- package/lib/Utils/logger.js +7 -7
- package/lib/Utils/lt-hash.d.ts +12 -12
- package/lib/Utils/lt-hash.js +51 -51
- package/lib/Utils/make-mutex.d.ts +7 -7
- package/lib/Utils/make-mutex.js +43 -43
- package/lib/Utils/messages-media.d.ts +107 -107
- package/lib/Utils/messages-media.js +680 -680
- package/lib/Utils/messages.d.ts +76 -76
- package/lib/Utils/messages.js +768 -768
- package/lib/Utils/noise-handler.d.ts +20 -20
- package/lib/Utils/noise-handler.js +142 -142
- package/lib/Utils/process-message.d.ts +41 -41
- package/lib/Utils/process-message.js +320 -320
- package/lib/Utils/signal.d.ts +32 -32
- package/lib/Utils/signal.js +151 -151
- package/lib/Utils/use-multi-file-auth-state.d.ts +12 -12
- package/lib/Utils/use-multi-file-auth-state.js +80 -80
- package/lib/Utils/validate-connection.d.ts +11 -11
- package/lib/Utils/validate-connection.js +191 -222
- package/lib/WABinary/constants.d.ts +27 -27
- package/lib/WABinary/constants.js +40 -40
- package/lib/WABinary/decode.d.ts +7 -7
- package/lib/WABinary/decode.js +252 -252
- package/lib/WABinary/encode.d.ts +3 -3
- package/lib/WABinary/encode.js +228 -228
- package/lib/WABinary/generic-utils.d.ts +15 -15
- package/lib/WABinary/generic-utils.js +110 -110
- package/lib/WABinary/index.d.ts +5 -5
- package/lib/WABinary/index.js +21 -21
- package/lib/WABinary/jid-utils.d.ts +29 -29
- package/lib/WABinary/jid-utils.js +59 -59
- package/lib/WABinary/types.d.ts +18 -18
- package/lib/WABinary/types.js +2 -2
- package/lib/index.d.ts +10 -10
- package/lib/index.js +29 -29
- package/package.json +1 -1
- package/CHANGELOG.md +0 -4
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { Contact } from './Contact';
|
|
2
|
-
export type GroupParticipant = (Contact & {
|
|
3
|
-
isAdmin?: boolean;
|
|
4
|
-
isSuperAdmin?: boolean;
|
|
5
|
-
admin?: 'admin' | 'superadmin' | null;
|
|
6
|
-
});
|
|
7
|
-
export type ParticipantAction = 'add' | 'remove' | 'promote' | 'demote';
|
|
8
|
-
export interface GroupMetadata {
|
|
9
|
-
id: string;
|
|
10
|
-
owner: string | undefined;
|
|
11
|
-
subject: string;
|
|
12
|
-
/** group subject owner */
|
|
13
|
-
subjectOwner?: string;
|
|
14
|
-
/** group subject modification date */
|
|
15
|
-
subjectTime?: number;
|
|
16
|
-
creation?: number;
|
|
17
|
-
desc?: string;
|
|
18
|
-
descOwner?: string;
|
|
19
|
-
descId?: string;
|
|
20
|
-
/** is set when the group only allows admins to change group settings */
|
|
21
|
-
restrict?: boolean;
|
|
22
|
-
/** is set when the group only allows admins to write messages */
|
|
23
|
-
announce?: boolean;
|
|
24
|
-
/** is set when the group also allows members to add participants */
|
|
25
|
-
memberAddMode?: boolean;
|
|
26
|
-
/** Request approval to join the group */
|
|
27
|
-
joinApprovalMode?: boolean;
|
|
28
|
-
/** is this a community */
|
|
29
|
-
isCommunity?: boolean;
|
|
30
|
-
/** is this the announce of a community */
|
|
31
|
-
isCommunityAnnounce?: boolean;
|
|
32
|
-
/** number of group participants */
|
|
33
|
-
size?: number;
|
|
34
|
-
participants: GroupParticipant[];
|
|
35
|
-
ephemeralDuration?: number;
|
|
36
|
-
inviteCode?: string;
|
|
37
|
-
/** the person who added you */
|
|
38
|
-
author?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface WAGroupCreateResponse {
|
|
41
|
-
status: number;
|
|
42
|
-
gid?: string;
|
|
43
|
-
participants?: [{
|
|
44
|
-
[key: string]: {};
|
|
45
|
-
}];
|
|
46
|
-
}
|
|
47
|
-
export interface GroupModificationResponse {
|
|
48
|
-
status: number;
|
|
49
|
-
participants?: {
|
|
50
|
-
[key: string]: {};
|
|
51
|
-
};
|
|
52
|
-
}
|
|
1
|
+
import { Contact } from './Contact';
|
|
2
|
+
export type GroupParticipant = (Contact & {
|
|
3
|
+
isAdmin?: boolean;
|
|
4
|
+
isSuperAdmin?: boolean;
|
|
5
|
+
admin?: 'admin' | 'superadmin' | null;
|
|
6
|
+
});
|
|
7
|
+
export type ParticipantAction = 'add' | 'remove' | 'promote' | 'demote';
|
|
8
|
+
export interface GroupMetadata {
|
|
9
|
+
id: string;
|
|
10
|
+
owner: string | undefined;
|
|
11
|
+
subject: string;
|
|
12
|
+
/** group subject owner */
|
|
13
|
+
subjectOwner?: string;
|
|
14
|
+
/** group subject modification date */
|
|
15
|
+
subjectTime?: number;
|
|
16
|
+
creation?: number;
|
|
17
|
+
desc?: string;
|
|
18
|
+
descOwner?: string;
|
|
19
|
+
descId?: string;
|
|
20
|
+
/** is set when the group only allows admins to change group settings */
|
|
21
|
+
restrict?: boolean;
|
|
22
|
+
/** is set when the group only allows admins to write messages */
|
|
23
|
+
announce?: boolean;
|
|
24
|
+
/** is set when the group also allows members to add participants */
|
|
25
|
+
memberAddMode?: boolean;
|
|
26
|
+
/** Request approval to join the group */
|
|
27
|
+
joinApprovalMode?: boolean;
|
|
28
|
+
/** is this a community */
|
|
29
|
+
isCommunity?: boolean;
|
|
30
|
+
/** is this the announce of a community */
|
|
31
|
+
isCommunityAnnounce?: boolean;
|
|
32
|
+
/** number of group participants */
|
|
33
|
+
size?: number;
|
|
34
|
+
participants: GroupParticipant[];
|
|
35
|
+
ephemeralDuration?: number;
|
|
36
|
+
inviteCode?: string;
|
|
37
|
+
/** the person who added you */
|
|
38
|
+
author?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface WAGroupCreateResponse {
|
|
41
|
+
status: number;
|
|
42
|
+
gid?: string;
|
|
43
|
+
participants?: [{
|
|
44
|
+
[key: string]: {};
|
|
45
|
+
}];
|
|
46
|
+
}
|
|
47
|
+
export interface GroupModificationResponse {
|
|
48
|
+
status: number;
|
|
49
|
+
participants?: {
|
|
50
|
+
[key: string]: {};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/Types/Label.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export interface Label {
|
|
2
|
-
/** Label uniq ID */
|
|
3
|
-
id: string;
|
|
4
|
-
/** Label name */
|
|
5
|
-
name: string;
|
|
6
|
-
/** Label color ID */
|
|
7
|
-
color: number;
|
|
8
|
-
/** Is label has been deleted */
|
|
9
|
-
deleted: boolean;
|
|
10
|
-
/** WhatsApp has 5 predefined labels (New customer, New order & etc) */
|
|
11
|
-
predefinedId?: string;
|
|
12
|
-
}
|
|
13
|
-
/** WhatsApp has 20 predefined colors */
|
|
14
|
-
export declare enum LabelColor {
|
|
15
|
-
Color1 = 0,
|
|
16
|
-
Color2 = 1,
|
|
17
|
-
Color3 = 2,
|
|
18
|
-
Color4 = 3,
|
|
19
|
-
Color5 = 4,
|
|
20
|
-
Color6 = 5,
|
|
21
|
-
Color7 = 6,
|
|
22
|
-
Color8 = 7,
|
|
23
|
-
Color9 = 8,
|
|
24
|
-
Color10 = 9,
|
|
25
|
-
Color11 = 10,
|
|
26
|
-
Color12 = 11,
|
|
27
|
-
Color13 = 12,
|
|
28
|
-
Color14 = 13,
|
|
29
|
-
Color15 = 14,
|
|
30
|
-
Color16 = 15,
|
|
31
|
-
Color17 = 16,
|
|
32
|
-
Color18 = 17,
|
|
33
|
-
Color19 = 18,
|
|
34
|
-
Color20 = 19
|
|
35
|
-
}
|
|
1
|
+
export interface Label {
|
|
2
|
+
/** Label uniq ID */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Label name */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Label color ID */
|
|
7
|
+
color: number;
|
|
8
|
+
/** Is label has been deleted */
|
|
9
|
+
deleted: boolean;
|
|
10
|
+
/** WhatsApp has 5 predefined labels (New customer, New order & etc) */
|
|
11
|
+
predefinedId?: string;
|
|
12
|
+
}
|
|
13
|
+
/** WhatsApp has 20 predefined colors */
|
|
14
|
+
export declare enum LabelColor {
|
|
15
|
+
Color1 = 0,
|
|
16
|
+
Color2 = 1,
|
|
17
|
+
Color3 = 2,
|
|
18
|
+
Color4 = 3,
|
|
19
|
+
Color5 = 4,
|
|
20
|
+
Color6 = 5,
|
|
21
|
+
Color7 = 6,
|
|
22
|
+
Color8 = 7,
|
|
23
|
+
Color9 = 8,
|
|
24
|
+
Color10 = 9,
|
|
25
|
+
Color11 = 10,
|
|
26
|
+
Color12 = 11,
|
|
27
|
+
Color13 = 12,
|
|
28
|
+
Color14 = 13,
|
|
29
|
+
Color15 = 14,
|
|
30
|
+
Color16 = 15,
|
|
31
|
+
Color17 = 16,
|
|
32
|
+
Color18 = 17,
|
|
33
|
+
Color19 = 18,
|
|
34
|
+
Color20 = 19
|
|
35
|
+
}
|
package/lib/Types/Label.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LabelColor = void 0;
|
|
4
|
-
/** WhatsApp has 20 predefined colors */
|
|
5
|
-
var LabelColor;
|
|
6
|
-
(function (LabelColor) {
|
|
7
|
-
LabelColor[LabelColor["Color1"] = 0] = "Color1";
|
|
8
|
-
LabelColor[LabelColor["Color2"] = 1] = "Color2";
|
|
9
|
-
LabelColor[LabelColor["Color3"] = 2] = "Color3";
|
|
10
|
-
LabelColor[LabelColor["Color4"] = 3] = "Color4";
|
|
11
|
-
LabelColor[LabelColor["Color5"] = 4] = "Color5";
|
|
12
|
-
LabelColor[LabelColor["Color6"] = 5] = "Color6";
|
|
13
|
-
LabelColor[LabelColor["Color7"] = 6] = "Color7";
|
|
14
|
-
LabelColor[LabelColor["Color8"] = 7] = "Color8";
|
|
15
|
-
LabelColor[LabelColor["Color9"] = 8] = "Color9";
|
|
16
|
-
LabelColor[LabelColor["Color10"] = 9] = "Color10";
|
|
17
|
-
LabelColor[LabelColor["Color11"] = 10] = "Color11";
|
|
18
|
-
LabelColor[LabelColor["Color12"] = 11] = "Color12";
|
|
19
|
-
LabelColor[LabelColor["Color13"] = 12] = "Color13";
|
|
20
|
-
LabelColor[LabelColor["Color14"] = 13] = "Color14";
|
|
21
|
-
LabelColor[LabelColor["Color15"] = 14] = "Color15";
|
|
22
|
-
LabelColor[LabelColor["Color16"] = 15] = "Color16";
|
|
23
|
-
LabelColor[LabelColor["Color17"] = 16] = "Color17";
|
|
24
|
-
LabelColor[LabelColor["Color18"] = 17] = "Color18";
|
|
25
|
-
LabelColor[LabelColor["Color19"] = 18] = "Color19";
|
|
26
|
-
LabelColor[LabelColor["Color20"] = 19] = "Color20";
|
|
27
|
-
})(LabelColor = exports.LabelColor || (exports.LabelColor = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LabelColor = void 0;
|
|
4
|
+
/** WhatsApp has 20 predefined colors */
|
|
5
|
+
var LabelColor;
|
|
6
|
+
(function (LabelColor) {
|
|
7
|
+
LabelColor[LabelColor["Color1"] = 0] = "Color1";
|
|
8
|
+
LabelColor[LabelColor["Color2"] = 1] = "Color2";
|
|
9
|
+
LabelColor[LabelColor["Color3"] = 2] = "Color3";
|
|
10
|
+
LabelColor[LabelColor["Color4"] = 3] = "Color4";
|
|
11
|
+
LabelColor[LabelColor["Color5"] = 4] = "Color5";
|
|
12
|
+
LabelColor[LabelColor["Color6"] = 5] = "Color6";
|
|
13
|
+
LabelColor[LabelColor["Color7"] = 6] = "Color7";
|
|
14
|
+
LabelColor[LabelColor["Color8"] = 7] = "Color8";
|
|
15
|
+
LabelColor[LabelColor["Color9"] = 8] = "Color9";
|
|
16
|
+
LabelColor[LabelColor["Color10"] = 9] = "Color10";
|
|
17
|
+
LabelColor[LabelColor["Color11"] = 10] = "Color11";
|
|
18
|
+
LabelColor[LabelColor["Color12"] = 11] = "Color12";
|
|
19
|
+
LabelColor[LabelColor["Color13"] = 12] = "Color13";
|
|
20
|
+
LabelColor[LabelColor["Color14"] = 13] = "Color14";
|
|
21
|
+
LabelColor[LabelColor["Color15"] = 14] = "Color15";
|
|
22
|
+
LabelColor[LabelColor["Color16"] = 15] = "Color16";
|
|
23
|
+
LabelColor[LabelColor["Color17"] = 16] = "Color17";
|
|
24
|
+
LabelColor[LabelColor["Color18"] = 17] = "Color18";
|
|
25
|
+
LabelColor[LabelColor["Color19"] = 18] = "Color19";
|
|
26
|
+
LabelColor[LabelColor["Color20"] = 19] = "Color20";
|
|
27
|
+
})(LabelColor = exports.LabelColor || (exports.LabelColor = {}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/** Association type */
|
|
2
|
-
export declare enum LabelAssociationType {
|
|
3
|
-
Chat = "label_jid",
|
|
4
|
-
Message = "label_message"
|
|
5
|
-
}
|
|
6
|
-
export type LabelAssociationTypes = `${LabelAssociationType}`;
|
|
7
|
-
/** Association for chat */
|
|
8
|
-
export interface ChatLabelAssociation {
|
|
9
|
-
type: LabelAssociationType.Chat;
|
|
10
|
-
chatId: string;
|
|
11
|
-
labelId: string;
|
|
12
|
-
}
|
|
13
|
-
/** Association for message */
|
|
14
|
-
export interface MessageLabelAssociation {
|
|
15
|
-
type: LabelAssociationType.Message;
|
|
16
|
-
chatId: string;
|
|
17
|
-
messageId: string;
|
|
18
|
-
labelId: string;
|
|
19
|
-
}
|
|
20
|
-
export type LabelAssociation = ChatLabelAssociation | MessageLabelAssociation;
|
|
21
|
-
/** Body for add/remove chat label association action */
|
|
22
|
-
export interface ChatLabelAssociationActionBody {
|
|
23
|
-
labelId: string;
|
|
24
|
-
}
|
|
25
|
-
/** body for add/remove message label association action */
|
|
26
|
-
export interface MessageLabelAssociationActionBody {
|
|
27
|
-
labelId: string;
|
|
28
|
-
messageId: string;
|
|
29
|
-
}
|
|
1
|
+
/** Association type */
|
|
2
|
+
export declare enum LabelAssociationType {
|
|
3
|
+
Chat = "label_jid",
|
|
4
|
+
Message = "label_message"
|
|
5
|
+
}
|
|
6
|
+
export type LabelAssociationTypes = `${LabelAssociationType}`;
|
|
7
|
+
/** Association for chat */
|
|
8
|
+
export interface ChatLabelAssociation {
|
|
9
|
+
type: LabelAssociationType.Chat;
|
|
10
|
+
chatId: string;
|
|
11
|
+
labelId: string;
|
|
12
|
+
}
|
|
13
|
+
/** Association for message */
|
|
14
|
+
export interface MessageLabelAssociation {
|
|
15
|
+
type: LabelAssociationType.Message;
|
|
16
|
+
chatId: string;
|
|
17
|
+
messageId: string;
|
|
18
|
+
labelId: string;
|
|
19
|
+
}
|
|
20
|
+
export type LabelAssociation = ChatLabelAssociation | MessageLabelAssociation;
|
|
21
|
+
/** Body for add/remove chat label association action */
|
|
22
|
+
export interface ChatLabelAssociationActionBody {
|
|
23
|
+
labelId: string;
|
|
24
|
+
}
|
|
25
|
+
/** body for add/remove message label association action */
|
|
26
|
+
export interface MessageLabelAssociationActionBody {
|
|
27
|
+
labelId: string;
|
|
28
|
+
messageId: string;
|
|
29
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LabelAssociationType = void 0;
|
|
4
|
-
/** Association type */
|
|
5
|
-
var LabelAssociationType;
|
|
6
|
-
(function (LabelAssociationType) {
|
|
7
|
-
LabelAssociationType["Chat"] = "label_jid";
|
|
8
|
-
LabelAssociationType["Message"] = "label_message";
|
|
9
|
-
})(LabelAssociationType = exports.LabelAssociationType || (exports.LabelAssociationType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LabelAssociationType = void 0;
|
|
4
|
+
/** Association type */
|
|
5
|
+
var LabelAssociationType;
|
|
6
|
+
(function (LabelAssociationType) {
|
|
7
|
+
LabelAssociationType["Chat"] = "label_jid";
|
|
8
|
+
LabelAssociationType["Message"] = "label_message";
|
|
9
|
+
})(LabelAssociationType = exports.LabelAssociationType || (exports.LabelAssociationType = {}));
|