FilePartBuilder
Builder for creating FilePart instances with a fluent DSL.
Example usage:
val filePart = FilePartBuilder().apply {
file {
name = "example.txt"
mimeType = "text/plain"
bytes = "Hello World".encodeToByteArray()
}
}.create()Content copied to clipboard