Asset

data class Asset(val assetSizeInBytes: Long, val assetName: String? = null, val assetMimeType: String, val assetOtrKey: ByteArray, val assetSha256Key: ByteArray, val assetId: String, val assetToken: String? = null, val assetDomain: String? = null, val assetEncryptionAlgorithm: String?, val assetWidth: Int? = null, val assetHeight: Int? = null, val assetDurationMs: Long? = null, val assetNormalizedLoudness: ByteArray? = null) : MessageEntityContent.Regular

Constructors

Link copied to clipboard
constructor(assetSizeInBytes: Long, assetName: String? = null, assetMimeType: String, assetOtrKey: ByteArray, assetSha256Key: ByteArray, assetId: String, assetToken: String? = null, assetDomain: String? = null, assetEncryptionAlgorithm: String?, assetWidth: Int? = null, assetHeight: Int? = null, assetDurationMs: Long? = null, assetNormalizedLoudness: ByteArray? = null)

Properties

Link copied to clipboard
val assetDomain: String? = null
Link copied to clipboard
val assetDurationMs: Long? = null
Link copied to clipboard
Link copied to clipboard
val assetHeight: Int? = null
Link copied to clipboard
val assetId: String
Link copied to clipboard
val assetMimeType: String
Link copied to clipboard
val assetName: String? = null
Link copied to clipboard
val assetNormalizedLoudness: ByteArray? = null
Link copied to clipboard
val assetOtrKey: ByteArray
Link copied to clipboard
val assetSha256Key: ByteArray
Link copied to clipboard
Link copied to clipboard
val assetToken: String? = null
Link copied to clipboard
val assetWidth: Int? = null

Functions

Link copied to clipboard