add docs
This commit is contained in:
parent
fa4923db98
commit
89029ac916
1 changed files with 1 additions and 0 deletions
|
|
@ -556,6 +556,7 @@ class Client extends EventEmitter {
|
|||
/**
|
||||
* Accepts an invitation to join a group
|
||||
* @param {string} inviteCode Invitation code
|
||||
* @returns {Promise<string>} Id of the joined Chat
|
||||
*/
|
||||
async acceptInvite(inviteCode) {
|
||||
const chatId = await this.pupPage.evaluate(async inviteCode => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue