whatsapp-framework
whatsapp-framework copied to clipboard
is possible get the text and image in a single message?
i want to code an function where you receive the command with the image and it sends to other server, but i dont know the exactly function to get image. text message is "message.text" but what about the image?
i added the bot in a group where you can upload an image + text so, the bot need to read it to send to server
Use these functions
mac.send_image(path, message.conversation, caption)
or
mac.send_image_to(path, phone_number, caption)