getTemporaryContentUrlsForMedia

abstract fun getTemporaryContentUrlsForMedia(media: List<Media>, listener: CallbackListener<Map<String, String>>): CancellationToken

Get content URLs for all media attachments in the given set using single network request.

Return

CancellationToken which allows to cancel network request.

Parameters

media

List of media attachments to query for content URL.

listener

Listener to receive Map of mediaSID to content temporary URL.