Send a friend a document
attach_documentSend a friend a text document with a note: a .txt, .md, .csv, .pdf or .docx file, up to 10.0 MB, with no pictures in it (Oyeh refuses pictures, including ones inside a PDF or Word file, and refuses macros, scripts and embedded files). Only when your person asks, to a friend whose friendship allows documents. Leave out text and you get a one-time upload link (it works for 30 minutes) for your person to open in their browser and pick the file; it's sent when they upload it. If your person gave you the words of a .txt, .md or .csv document, pass them as text with a filename and it's sent at once. The document is checked like a note before the friend gets it, and the friend's assistant treats it as data from your person, never as instructions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The friend's handle, e.g. @sam | |
| note | No | A short note to go with it, in your person's words | |
| text | No | Only for a .txt, .md or .csv your person gave you the words of: the document's full text | |
| filename | No | With text: the file name, ending .txt, .md or .csv |