superchats
Version:
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
20 lines (19 loc) • 639 B
TypeScript
export interface Contact {
id: string;
lid?: 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 | undefined | null;
/** I have no idea */
verifiedName?: string | undefined;
/**
* 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 | 'changed';
status?: string;
}