To send files through the Twilio API for WhatsApp you need to be able to host those files somewhere. When you send a message with a file you need to pass a URL to the API. If you are doing this locally, you could make the files available with a web server on your machine and a tunnel like ngrok that can create a URL that points at your local machine.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
To send files through the Twilio API for WhatsApp you need to be able to host those files somewhere. When you send a message with a file you need to pass a URL to the API. If you are doing this locally, you could make the files available with a web server on your machine and a tunnel like ngrok that can create a URL that points at your local machine.