ImageAsset
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
Inheritors
Constructors
Types
Link copied to clipboard
class CarouselImage(id: String, parentEntryId: String? = null, @Json(name = "assetUrl") url: String?, name: String = UUID.randomUUID().toString(), mimeType: String, val description: String? = null) : FileAsset.ImageAsset
Link copied to clipboard
Link copied to clipboard
class RichLinkImage(id: String = UUID.randomUUID().toString(), parentEntryId: String? = null, @Json(name = "assetUrl") url: String? = null, name: String = UUID.randomUUID().toString(), mimeType: String = GenericMimeType.OCTET_STREAM.value, val description: String? = null) : FileAsset.ImageAsset
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.