get Preview Url
abstract suspend fun getPreviewUrl( url: String, timestamp: Long?, cacheStrategy: CacheStrategy): PreviewUrlData
Content copied to clipboard
Get Url Preview data from the homeserver, or from cache, depending on the cache strategy.
Parameters
url
The url to get the preview data from
timestamp
The optional timestamp. Note that this parameter is not taken into account if the data is already in cache and the cache strategy allow to use it
cache Strategy
the cache strategy, see the type for more details