| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.ThumbnailFormat
Documentation
data ThumbnailFormat Source #
Describes format of a thumbnail
Constructors
| ThumbnailFormatJpeg | The thumbnail is in JPEG format |
| ThumbnailFormatGif | The thumbnail is in static GIF format. It will be used only for some bot inline query results |
| ThumbnailFormatMpeg4 | The thumbnail is in MPEG4 format. It will be used only for some animations and videos |
| ThumbnailFormatPng | The thumbnail is in PNG format. It will be used only for background patterns |
| ThumbnailFormatTgs | The thumbnail is in TGS format. It will be used only for sticker sets |
| ThumbnailFormatWebm | The thumbnail is in WEBM format. It will be used only for sticker sets |
| ThumbnailFormatWebp | The thumbnail is in WEBP format. It will be used only for some stickers and sticker sets |
Instances
| FromJSON ThumbnailFormat Source # | |
Defined in TD.Data.ThumbnailFormat Methods parseJSON :: Value -> Parser ThumbnailFormat # parseJSONList :: Value -> Parser [ThumbnailFormat] # | |
| Show ThumbnailFormat Source # | |
Defined in TD.Data.ThumbnailFormat Methods showsPrec :: Int -> ThumbnailFormat -> ShowS # show :: ThumbnailFormat -> String # showList :: [ThumbnailFormat] -> ShowS # | |
| Eq ThumbnailFormat Source # | |
Defined in TD.Data.ThumbnailFormat Methods (==) :: ThumbnailFormat -> ThumbnailFormat -> Bool # (/=) :: ThumbnailFormat -> ThumbnailFormat -> Bool # | |
| ShortShow ThumbnailFormat Source # | |
Defined in TD.Data.ThumbnailFormat Methods shortShow :: ThumbnailFormat -> String Source # | |