Shortcode: ^file()

Add a text/pdf file to your response.


Parameter Sample Value Description
url "" Required A URL to the file you want your bot to respond with. Surround with double quotes.

Example Usage

+ [*] (recipes|cookbook) [*]
- Here's tomorrow's recipe for Braised Beef & Potatoes: ^file("")


Ensure that the URL you are using is actually a URL to a file (with a valid extension) and not a website that contains an file.
Platform Notes How It Looks
  • Facebook embeds the file as a downloadable link.
  • Facebook recommends files of xxx size.
  • Slack does not natively unfurl files, so they are appended as links to the attachment.
  • Twilio only supports sending over a limited number of MIME types for text files. See the full list.
  • If a requested MIME type is not supported, we recommend sending the video url within a ^link() shortcode instead.
  • Our web widget now supports files.