Closed GauthamramRavichandran closed 3 years ago
I have tried the following,
wapi_functions.sendImage
with base64 of the imageThis repo is discontinued, then? I'll use that pip package.
Its weird, I just tried and it is working correctly doing group.send_media(IMAGE_PATH, 'test')
sending a png or jpg.
What does grp.send_media return for you?
This repo is not discontinued
I just fixed an issue, can you try with the latest version? 1.3.10
Great!, It's fixed now, why was it not working earlier? I had not received any errors as well in the python script, it seems there's a catch section in the js but could it be re-raised to python, for handling at python side
Operating System : Ubuntu 18.04.4 LTS Python : Python 3.6.9 Installation : via pip
The
send_message
is working, was able to send the text message in the groups. Butsend_media
is not working, it's throwing any error/ anything in logs as well.Output: Shows the grp.id grp.name of all groups and sends text message alone