Closed kvvaradha closed 1 year ago
This is irrelevant to the lib but there are tons of methods you can use. For example, a month or two ago I had SPAM accounts that were flooding my paid WhatsApp business plan. In turn, within 24 hours they accumulated over $40 in expenditure on my WhatsApp Account end that Meta had to temporarily ban me for it. Since these were valid numbers that WhatsApp seemed to accept, I decided to ban the entire country from accessing the chatbot due to the frequency at which the new contacts were being registered in the database and the message requests to OpenAi's ChatGPT API....yes I'm on a ChatGPT chatbot within WhatsApp...these were Morocco numbers that were over 2000. I just placed a filter for the country code such that if the incoming request matched Morocco, no response would be sent back to WhatsApp, in turn, Meta won't charge for conversations with a business that has not replied. Yes, I got charged roughly $30 from OpenAi's end because these contacts were making a lot of requests every after few seconds. You just have to figure out how to filter them, but you're asking for a relevant issue IN THE WRONG PLACE. That's a personal issue, rather than a community issue...
is there any api call to block a contact which tries to spam the account