Package-level declarations

Types

Link copied to clipboard
data class DownloadedGif(val gif: Gif, val path: Path, val sizeInBytes: Long)

A GIF's Gif.original rendition, downloaded to a temporary file ready to preview and send.

Link copied to clipboard
data class Gif(val id: String, val title: String, val preview: GifRendition, val original: GifRendition)

A GIF from Giphy.

Link copied to clipboard
data class GifPage(val gifs: List<Gif>, val nextOffset: Int?)
Link copied to clipboard
data class GifRendition(val url: String, val width: Int, val height: Int, val sizeInBytes: Long?)

One file Giphy offers for a GIF. sizeInBytes is null when Giphy does not report it.

Link copied to clipboard
internal class GiphyDataSource(giphyApi: GiphyApi, kaliumFileSystem: KaliumFileSystem) : GiphyRepository
Link copied to clipboard
internal interface GiphyRepository