You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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".
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?
The text was updated successfully, but these errors were encountered:
response = generate_response(message_body, wa_id, name)
responses = process_text_for_whatsapp(response)
# receipientNo is to get the number of the sender to used for responds to the sender
receipientNo = "+" + wa_id
data = get_text_message_input(receipientNo, responses)
send_message(data)
In
whatsapp_utils.py
module the functionprocess_whatsapp_message(body)
gets thewa_id
parameter, but in line 92 we sent the response to the hardcoded environment parameter"RECIPIENT_WAID"
.In order to answer to any number that send us a message,
get_text_message_input(current_app.config["RECIPIENT_WAID"], response)
should change toget_text_message_input(wa_id, response)
?Or is there another way to respond to any number?
The text was updated successfully, but these errors were encountered: