@open-wa/wa-automate-types-only 4.32.5 → 4.32.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.
@@ -12,6 +12,9 @@ export interface Contact {
|
|
12
12
|
formattedName: string;
|
13
13
|
id: ContactId;
|
14
14
|
isBusiness: boolean;
|
15
|
+
/**
|
16
|
+
* Most likely true when the account has a green tick. See `verifiedLevel` also.
|
17
|
+
*/
|
15
18
|
isEnterprise: boolean;
|
16
19
|
isMe: boolean;
|
17
20
|
isMyContact: boolean;
|
@@ -34,7 +37,14 @@ export interface Contact {
|
|
34
37
|
shortName: string;
|
35
38
|
statusMute: boolean;
|
36
39
|
type: string;
|
37
|
-
|
40
|
+
/**
|
41
|
+
* 0 = not verified
|
42
|
+
* 2 = verified (most likely represents a blue tick)
|
43
|
+
*/
|
44
|
+
verifiedLevel: number;
|
45
|
+
/**
|
46
|
+
* The business account name verified by WA.
|
47
|
+
*/
|
38
48
|
verifiedName: string;
|
39
49
|
isOnline?: boolean;
|
40
50
|
lastSeen?: number;
|
@@ -25,6 +25,26 @@ export interface GroupMetadata {
|
|
25
25
|
* Unknown.
|
26
26
|
*/
|
27
27
|
pendingParticipants: Participant[];
|
28
|
+
/**
|
29
|
+
* The description of the group
|
30
|
+
*/
|
31
|
+
desc?: string;
|
32
|
+
/**
|
33
|
+
* The account that set the description last.
|
34
|
+
*/
|
35
|
+
descOwner?: ContactId;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
*/
|
39
|
+
trusted?: boolean;
|
40
|
+
/**
|
41
|
+
* Not sure what this represents
|
42
|
+
*/
|
43
|
+
suspended?: boolean;
|
44
|
+
/**
|
45
|
+
* Not sure what this represents
|
46
|
+
*/
|
47
|
+
support?: boolean;
|
28
48
|
}
|
29
49
|
export declare enum groupChangeEvent {
|
30
50
|
remove = "remove",
|