Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Plus][WEBJS] Add a custom capture when sending files (/sendFile) #94

Closed
lightningfuzion2 opened this issue May 9, 2023 · 5 comments
Closed
Labels
engine:WEBJS enhancement New feature or request waha:PLUS Relates to WAHA Plus version

Comments

@lightningfuzion2
Copy link

the caption can not be changed while attaching Files for uploading
{
"session": "default",
"chatId": "11111111111@c.us",
"file": {
"mimetype": "image/jpeg",
"filename": "filename.jpeg",
"data": "........"
},
"caption": "string"
}

the Caption on whatsapp changes to "filename.jpeg" instead and dosen't consider the "caption": "string" key value
same is the case when using url method the caption is replaced by the File name present in the url.
this is happning in the plus Version.

@allburov allburov added bug Something isn't working waha:PLUS Relates to WAHA Plus version labels May 10, 2023
@allburov
Copy link
Contributor

Hi! It's a pretty new feature for WhatsApp, waiting for the engine to support it pedroslopez/whatsapp-web.js#1849

@allburov allburov added enhancement New feature or request and removed bug Something isn't working labels May 10, 2023
@allburov allburov changed the title Caption is not being considered while sending files, documents, attachments and sound files. filename comes up as caption instead PLUS [Plus][WEBJS] Add a custom capture when sending files (/sendFile) May 10, 2023
@lightningfuzion2
Copy link
Author

does this work in other Engines Venom and all ?

@allburov
Copy link
Contributor

@lightningfuzion2 published a new plus version today - it does work in NOWEB engine!

@allburov
Copy link
Contributor

Filename issue is fixed, not filename should be overwritten by filename field!

@devlikepro
Copy link
Contributor

devlikepro commented Mar 22, 2024

Hi!
caption has been fixed in WAHA Plus 2024.3.9
Now both caption and filename should work with no issues in both WEBJS and NOWEB engine.

patron:PRO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine:WEBJS enhancement New feature or request waha:PLUS Relates to WAHA Plus version
Projects
None yet
Development

No branches or pull requests

3 participants