feat: handle picture change events

This commit is contained in:
Adhiraj Singh
2022-09-27 11:28:41 +05:30
parent da359aaee2
commit b329c73b20
3 changed files with 39 additions and 4 deletions

View File

@@ -7,6 +7,13 @@ export interface Contact {
/** I have no idea */
verifiedName?: string
// Baileys Added
imgUrl?: 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 | 'changed'
status?: string
}