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, val creator: GifCreator? = null)

A GIF from Giphy.

Link copied to clipboard
data class GifCreator(val username: String, val isVerified: Boolean)

The Giphy channel or user that made a GIF, shown as its attribution.

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