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
Thank you for the great script! I’m currently testing it, and it works well for sending messages. However, I need help with attaching files.
Here’s my use case:
I have 5 different phone numbers.
For each number, I want to send a unique PDF file along with the message (the PDF is different for each number).
Could you please guide me on how to achieve this? Is there an example or method I can use to attach specific files for each number?
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Currently, there is no functionality to change the attachments for different contact numbers. While I plan to add this functionality later, I have a suggestion for you in the meantime.
If you are proficient in Python, you can modify the utils/whatsapp_helper.py file. Specifically, you need to update the check_message_type_and_send_message function. At present, this function sends a static image from the image_path instance variable.
you can modify the program to read the file path from a CSV file.
Hello,
Thank you for the great script! I’m currently testing it, and it works well for sending messages. However, I need help with attaching files.
Here’s my use case:
I have 5 different phone numbers.
For each number, I want to send a unique PDF file along with the message (the PDF is different for each number).
Could you please guide me on how to achieve this? Is there an example or method I can use to attach specific files for each number?
Thank you for your help!
The text was updated successfully, but these errors were encountered: