attachments

Configures media attachments for this content builder.

This method allows you to specify multiple media attachments using the AttachmentBuilder DSL. The attachments can include images, audio files, and documents.

Example:

attachments {
image("photo.jpg")
audio(audioData, "mp3")
document("report.pdf")
}

Parameters

body

The configuration block for building attachments using AttachmentBuilder