PendingUpload

data class PendingUpload(val source: UploadSource, val progress: Double = 0.0, val uploadedId: String? = null)

The upload behind a pending attachment message.

Constructors

Link copied to clipboard
constructor(source: UploadSource, progress: Double = 0.0, uploadedId: String? = null)

Properties

Link copied to clipboard

The bytes reached the server.

Link copied to clipboard
val progress: Double = 0.0

0..1 while the bytes go out.

Link copied to clipboard

What is being sent (kept for the preview and for retries).

Link copied to clipboard
val uploadedId: String? = null

The server's file id once uploaded.