Send File Message
In this page we show you how to send a message containing a pdf file.
Last updated
In this page we show you how to send a message containing a pdf file.
Last updated
A file-type conversation refers to a message that includes a file attachment.
In this table below you'll see the Arguments for this request.
Arguments | Explanation |
---|---|
Here's how to create a request for sending a file message to a WhatsApp user using the provided API endpoint.
The provided YAML configuration below defines an API specification using the OpenAPI (formerly known as Swagger) format.
mediaURL *required
Provides the URL where the file content is hosted or located
type *required
To specify the media type that will be used.
altText (optional)
A description of the image that's optional, provided mainly for accessibility reasons. By default, it'll be saved using the image file's name.
API request to send a file
"file"
"https://www.w3.org/dummy.pdf"
"Here is a pdf attached"
Successfully Replied.