-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Expand file tree
/
Copy pathContact.ts
More file actions
26 lines (26 loc) · 793 Bytes
/
Contact.ts
File metadata and controls
26 lines (26 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export interface Contact {
/** ID either in lid or jid format (preferred) **/
id: string
/** ID in LID format (@lid) **/
lid?: string
/** ID in PN format (@s.whatsapp.net) **/
phoneNumber?: string
/** name of the contact, you have saved on your WA */
name?: string
/** name of the contact, the contact has set on their own on WA */
notify?: string
/** username associated with this contact, when provided by WA */
username?: string
/** I have no idea */
verifiedName?: string
// Baileys Added
/**
* Url of the profile picture of the contact
*
* 'changed' => if the profile picture has changed
* null => if the profile picture has not been set (default profile picture)
* any other string => url of the profile picture
*/
imgUrl?: string | null
status?: string
}