I am trying to forward a message to whatsapp group. I used code like below,
for i in data:
try:
phone_safe = "91xxxxxxxxxx-xx9xxxxxx6"
phone_whatsapp = "{}@g.us".format(phone_safe)
message = (i['text'])
phone_whatsapp.forwardMessages([message])
except:
print("Error while trying to send the file.")
I get output likeError while trying to send the file.
I can see that forwardMessages not available in wapi.js. How to make it work?
I am trying to forward a message to whatsapp group. I used code like below,
I get output like
Error while trying to send the file.
I can see thatforwardMessages
not available inwapi.js
. How to make it work?