New API Endpoint
http://localhost:8000/delete-message
You can delete your own message from recipient Whatsapp.
Paramaters:
number
: the recipient numberlimit
(optional): limit latest message that you can delete (default is 1)everyone
(optional): delete for everyone (default is true; true: delete for everyone, false: delete for me)
Limitation
- You can only delete 1 (one) message per request. If you set limit more than 1, the API will remove the oldest messages from the limit filter.
- You can only delete messages if they have not exceeded the WhatsApp deletion time limit.