robvanderleek / mudslide

Send WhatsApp messages from the command-line
ISC License
120 stars 12 forks source link

Send image along with text message #76

Closed zrkhan128 closed 1 month ago

zrkhan128 commented 5 months ago

I want to send text message with image currently the flow is like to attach file and put caption which is working fine but in that case user have to click manually to download and see the image. what i want is that user do not click on the image to download and see the image, it should be downloaded by default same like we do using WhatsApp on phone. Please guide me if there is any workaround through which i can establish this.

robvanderleek commented 5 months ago

Hi @zrkhan128

The use-case that you describe should display the image immediately, for example:

npx mudslide send-image me tuesday.png --caption "It's Tuesday"

displays the PNG with a caption text on my WA iOS App.

It could be that large files or other file types require a click to download, can you give an example your command and the image file?

zrkhan128 commented 5 months ago

npx mudslide@latest send-image me image.png I am using this command let me try the one you mentioned.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.