Learn how to send attachments
media_library://
protocol.
test.png
.
You can also upload to nested paths, for example /storage/upload/sign/media_library/my-dir/test.png
. This will create an upload URL for my-dir/test.png
.
Next, upload your file using the signed URL:
attachments: ["media_library://test.png"]
attachments: ["media_library://my-dir/test.png"]