đĢ Block Users
Block users by their WhatsApp phone numbers. Blocking is only available for phone numbers, not message IDs.
await whatsapp.blockUsers(
users: ['919XXXXXXXXX', '15551234567'],
);
| param | type | required | description |
|---|---|---|---|
users | List<String> | yes | Phone numbers with country code, without + or spaces |
The response lists which numbers were blocked and which failed.