Skip to content

Commit bd6be18

Browse files
committed
chore: changeset for auto-reject call
1 parent 9c4b8eb commit bd6be18

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.changeset/auto-reject-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'zaileys': minor
3+
---
4+
5+
Auto-reject incoming calls. New `autoRejectCall` client option (`true`, or `{ enabled, allow, onReject }`) hangs up incoming WhatsApp calls automatically — with an allow-list (jid/digits array or predicate) and an `onReject` hook to notify the caller. The underlying `client.rejectCall(call)` / `client.rejectCall(callId, from)` method is exposed for manual control from a `call-incoming` handler. Off by default; unofficial provider only (the Cloud API has no calls — it throws `UNSUPPORTED_ON_CLOUD`).

0 commit comments

Comments
 (0)