feat: getContactLidAndPhone (#3673)
* Add method getContactLidOrPhone * Add method getContactLidOrPhone * Add method getContactLidOrPhone * Add method getContactLidOrPhone * Add method getContactLidOrPhone * Add method getContactLidOrPhone Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> * Add method getContactLidOrPhone Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> * Add method getContactLidOrPhone Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> * Add method getContactLidOrPhone * Delete docs/index.html * Delete docs/Client.html * Create Client.html * Create index.html * Update to return the object * Update to return an object * Update Client.js to return both objects lid and phone * Update Client.js to return both objects lid and phone * Update src/Client.js Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> * Update src/Client.js Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> * Update index.d.ts Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> * refactor: rename function name for more clarity * Change accept and return Array * Change accept and return Array --------- Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
parent
bd08b69c87
commit
81fb154a9f
1 changed files with 25 additions and 0 deletions
3
index.d.ts
vendored
3
index.d.ts
vendored
|
|
@ -242,6 +242,9 @@ declare namespace WAWebJS {
|
|||
|
||||
/** Deletes the contact from user's addressbook */
|
||||
deleteAddressbookContact(honeNumber: string): Promise<void>
|
||||
|
||||
/** Get Contact lid and phone */
|
||||
getContactLidAndPhone(userIds: string[]): Promise<{ lid: string; pn: string }[]>
|
||||
|
||||
/** Changes and returns the archive state of the Chat */
|
||||
unarchiveChat(chatId: string): Promise<boolean>
|
||||
|
|
|
|||
Loading…
Reference in a new issue