How to decline a call
banndicoot-king opened this issue · comments
How to decline a wp call
Baileys/src/Socket/messages-recv.ts
Line 115 in f25f836
Baileys/src/Socket/messages-recv.ts
Line 115 in f25f836
I try to call the rejectCall function but got error
Try something like this:
sock.ev.on("call", async (callsList: WACallEvent[]) => {
for (const call of callsList) {
await sock.rejectCall(call.id, call.from);
}
});
any code to accept the call and take the call event
any code to accept the call and take the call event
I guess that this functionality doesn't exist up to now. There's a whole Text Channel destined to only calls on Baileys' Server on Discord.
Here is the invite: https://discord.gg/VNf5PCeq