$attachFile[link or file;file name?]
Sends a file with the answer, up to 8 MB. The file comes from a link or from the Files page of your bot. Each link counts as a web request.
Values
link or file- A link that starts with https://, or the name of a file you uploaded on the Files page, like logo.png.
file name- Optional. The name the file gets, like report.pdf, taken from the link or the uploaded file if empty.
Example
$attachFile[logo.png]Here is our logo!
Answers Here is our logo! with the uploaded picture logo.png attached