FileAsset
Represents a file attached to a conversation message, such as an image, PDF, or generic document.
Inheritors
Types
Link copied to clipboard
@JsonClass(generateAdapter = true)
Link copied to clipboard
Link copied to clipboard
open class ImageAsset(id: String = UUID.randomUUID().toString(), parentEntryId: String? = null, url: String? = null, name: String = UUID.randomUUID().toString(), mimeType: String = ImageMimeType.JPEG.value, attachmentUploadResult: AttachmentUploadResult? = null, file: File? = null) : FileAsset.GenericAsset
Link copied to clipboard
class PdfAsset(id: String = UUID.randomUUID().toString(), parentEntryId: String? = null, url: String? = null, name: String = UUID.randomUUID().toString(), mimeType: String = PdfMimeType.PDF.value, attachmentUploadResult: AttachmentUploadResult? = null, file: File? = null) : FileAsset.GenericAsset
Properties
Link copied to clipboard
The broad category of this attachment (image, PDF, video, etc.).
Link copied to clipboard
The upload result status for this attachment, or null if upload has not been attempted.
Link copied to clipboard
The resolved MIME type, preferring the local file's type over the server-reported type.
Link copied to clipboard
The identifier of the conversation entry that contains this attachment.