addFile

fun MessageModifyBuilder.addFile(path: Path): NamedFile(source)

Adds a file with the given path to the attachments.