Files

$attachFile[url;file name?]

Downloads a file from a link and sends it with the answer, up to 8 MB. Each file counts as a web request.

Values

url
A link that starts with https://.
file name
Optional. The name the file gets, like report.pdf, taken from the link if empty.

Example

$attachFile[https://example.com/cats/tom.png]Here is Tom!

Answers Here is Tom! with the picture tom.png attached

All functions