| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.StickerFormat
Synopsis
Documentation
data StickerFormat Source #
Describes format of a sticker
Constructors
| StickerFormatWebp | The sticker is an image in WEBP format |
| StickerFormatTgs | The sticker is an animation in TGS format |
| StickerFormatWebm | The sticker is a video in WEBM format |
Instances
| FromJSON StickerFormat Source # | |
Defined in TD.Data.StickerFormat Methods parseJSON :: Value -> Parser StickerFormat # parseJSONList :: Value -> Parser [StickerFormat] # | |
| ToJSON StickerFormat Source # | |
Defined in TD.Data.StickerFormat Methods toJSON :: StickerFormat -> Value # toEncoding :: StickerFormat -> Encoding # toJSONList :: [StickerFormat] -> Value # toEncodingList :: [StickerFormat] -> Encoding # | |
| Show StickerFormat Source # | |
Defined in TD.Data.StickerFormat Methods showsPrec :: Int -> StickerFormat -> ShowS # show :: StickerFormat -> String # showList :: [StickerFormat] -> ShowS # | |
| Eq StickerFormat Source # | |
Defined in TD.Data.StickerFormat Methods (==) :: StickerFormat -> StickerFormat -> Bool # (/=) :: StickerFormat -> StickerFormat -> Bool # | |
| ShortShow StickerFormat Source # | |
Defined in TD.Data.StickerFormat Methods shortShow :: StickerFormat -> String Source # | |