v1

latestOpenAPI 3.0.32026-07-171230219.1 KB
messages

Downloads a file from a URL and sends it to a chat

Downloads a file from a URL and sends it to a chat

post/api/messages/sendFileFromUrl

Request body

tostring required

Recipient chat ID

urlstring uri required

URL of the file to download

filenamestring required

Filename for the sent file

captionstring

Caption for the file

headersobject

HTTP headers for the download request

Response

Successful response

string required
OR
boolean required