Media Api Client
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun downloadThumbnailLegacy(mxcUri: String, width: Long, height: Long, method: ThumbnailResizingMethod, allowRemote: Boolean? = null, progress: MutableStateFlow<FileTransferProgress?>? = null, timeout: Duration = Duration.INFINITE, downloadHandler: suspend (Media) -> Unit): Result<Unit>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getUrlPreview(url: String, timestamp: Long? = null): Result<GetUrlPreview.Response>
Link copied to clipboard
abstract suspend fun getUrlPreviewLegacy(url: String, timestamp: Long? = null): Result<GetUrlPreviewLegacy.Response>