Comments (6)
can you send us your used shipping function?
from venom.
This is the parameters on my call:
I am using this function from the file:
C:\Source\NodeJs\venom\src\api\layers\sender.layer.ts
/**
- Sends file from path
- @param to Chat id
- @param path File path
- @param filename
- @param caption
*/
public async sendFile(
to: string,
path: string,
filename: string,
caption?: string
) {
const base64 = await fileToBase64(path);
return this.sendFileFromBase64(to, base64, filename, caption);
}
from venom.
I making more tests and i found out that the problem with caption is on pdf files, image file its working.
from venom.
more test, for now the only file that works caption is on image:
from venom.
@antonio-couto You can't add a caption (even on the app) when sending a document. Send the document then reply to the message if you want to caption it.
from venom.
that's the answer,
@antonio-couto You can't add a caption (even on the app) when sending a document. Send the document then reply to the message if you want to caption it.
you can also enter the name of the file you want. i will close this topic
from venom.
Related Issues (20)
- Problem With SendFiles, "Error to processFiles" HOT 2
- getGroupMembers not working as expected HOT 3
- Is it possible to read the messages we write ourselves? That is, our own messages that we write from the Smartphone or whatappsweb? HOT 2
- know which number we send a message to
- Get Group Members HOT 1
- How to avoid WhatsApp investigation?
- Unable to Find Venom Documentation HOT 5
- Session is not presisted after client.close() HOT 1
- typing stops after few seconds
- Error ESM HOT 3
- Message sending time for each number
- Update Copyright at Footer HOT 11
- documentation issue HOT 3
- Pair code HOT 1
- Error in install HOT 3
- Media FIles with attached text messages HOT 1
- whatsapp does not seem to be injected in version 2.3 HOT 10
- The client.getAllMessagesInChat function only retrieves the last message HOT 3
- Javascript error:webpackChunkwhatsapp_web_client is not defined error after whatsapp business 2.3 version update HOT 7
- sendLinkPreview Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from venom.