mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-17 19:26:20 +00:00
fixed acceptInvite typings
This commit is contained in:
committed by
Pedro S. Lopez
parent
559133c3c4
commit
fa4923db98
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -17,7 +17,7 @@ declare namespace WAWebJS {
|
||||
pupBrowser?: puppeteer.Browser
|
||||
|
||||
/**Accepts an invitation to join a group */
|
||||
acceptInvite(inviteCode: string): Promise<void>
|
||||
acceptInvite(inviteCode: string): Promise<string>
|
||||
|
||||
/**Returns an object with information about the invite code's group */
|
||||
getInviteInfo(inviteCode: string): Promise<object>
|
||||
|
||||
Reference in New Issue
Block a user