BlobResourceContents

@Serializable
data class BlobResourceContents(val blob: String, val uri: String, val mimeType: String?) : ResourceContents(source)

Represents the binary contents of a resource encoded as a base64 string.

Constructors

Link copied to clipboard
constructor(blob: String, uri: String, mimeType: String?)

Properties

Link copied to clipboard

A base64-encoded string representing the binary data of the item.

Link copied to clipboard
open override val mimeType: String?

The MIME type of this resource, if known.

Link copied to clipboard
open override val uri: String

The URI of this resource.