Upload an attachment
upload_attachmentStore a file (PDF, image, document) so a draft can carry it: pass the bytes as base64, up to 8 MB. Returns an attachment_ref valid for 24 hours; put it on a draft with draft_reply. For videos and voice notes, use the library instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name with extension | |
| mime_type | Yes | ||
| data_base64 | Yes |