Skip to content

Commit

Permalink
feat: Exported requestDeletePicture function
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Mar 4, 2023
1 parent e8916e3 commit 1f26500
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/whatsapp/functions/profilePic.ts
Expand Up @@ -34,10 +34,18 @@ export declare function sendSetPicture(
_duplicate: boolean;
}>;

/**
* This function can be used to delete a group picture or self profile
* @whatsapp 78426
* @whatsapp 5018 >= 2.2204.13
*/
export declare function requestDeletePicture(chat: Wid): Promise<any>;

exportModule(
exports,
{
sendSetPicture: 'sendSetPicture',
requestDeletePicture: 'requestDeletePicture',
},
(m) => m.sendSetPicture && m.requestDeletePicture
);

0 comments on commit 1f26500

Please sign in to comment.