1. Create an upload
attachment_id, signed upload URL, HTTP method, exact required headers, and expiration time.
2. Upload the raw bytes
3. Send the Attachment
Import a public media URL
For files up to 10 MB, amedia part can use a public HTTPS URL instead of a
pre-uploaded Attachment:
Relay rejects credentials in the URL and blocks loopback, private,
link-local, reserved, and internal destinations. A redirect cannot bypass
these checks.
Media metadata
Width and height must be supplied together.
Image formats
Relay accepts raster image formats including JPEG, PNG, GIF, HEIC, TIFF, BMP, and WebP. Relay rejects SVG.This is a Relay content-safety decision. Reference material disagreed about
SVG support, so Relay chose one explicit rule: accept WebP raster bytes and
avoid SVG’s additional active-content and renderer surface.

