baileys-mod
Version:
Custom Baileys WhatsApp API
24 lines (23 loc) • 762 B
TypeScript
export interface Contact {
/** ID either in lid or jid format **/
id: string;
/** ID in Lid (anonymous) format (@lid) **/
lid?: string;
/** ID in Phone Number format (@s.whatsapp.net) **/
jid?: 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;
/** I have no idea */
verifiedName?: string;
/**
* 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;
}