You can send files in two ways:
Provide a URL for the image.

Please note that the URL must be publicly accessible and not require any authentication or special headers to access the file.Specify the
mimetype of the image in the URL. Example: image/pngSend the image it self as a file upload.


Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Example:
"{{ instance_id }}"
Body
application/json
Require to use multipart/form-data
Contact number - learn what is chatId
Example:
url to send (required without file)
file to send (required without url)
filename for the file
mimetype for the file
caption for the file
reply to message id