python-whatsapp-bot icon indicating copy to clipboard operation
python-whatsapp-bot copied to clipboard

Send WhatsApp message to any number

Open fvm2 opened this issue 11 months ago • 1 comments

In whatsapp_utils.py module the function process_whatsapp_message(body) gets the wa_id parameter, but in line 92 we sent the response to the hardcoded environment parameter "RECIPIENT_WAID".

line_92

In order to answer to any number that send us a message, get_text_message_input(current_app.config["RECIPIENT_WAID"], response) should change to get_text_message_input(wa_id, response)?

Or is there another way to respond to any number?

fvm2 avatar Mar 15 '24 15:03 fvm2