mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 20:49:14 +00:00
add docs
This commit is contained in:
@@ -556,6 +556,7 @@ class Client extends EventEmitter {
|
|||||||
/**
|
/**
|
||||||
* Accepts an invitation to join a group
|
* Accepts an invitation to join a group
|
||||||
* @param {string} inviteCode Invitation code
|
* @param {string} inviteCode Invitation code
|
||||||
|
* @returns {Promise<string>} Id of the joined Chat
|
||||||
*/
|
*/
|
||||||
async acceptInvite(inviteCode) {
|
async acceptInvite(inviteCode) {
|
||||||
const chatId = await this.pupPage.evaluate(async inviteCode => {
|
const chatId = await this.pupPage.evaluate(async inviteCode => {
|
||||||
|
|||||||
Reference in New Issue
Block a user