Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data StickerFormat Source #
Describes format of a sticker
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 parseJSON :: Value -> Parser StickerFormat # parseJSONList :: Value -> Parser [StickerFormat] # | |
ToJSON StickerFormat Source # | |
Defined in TD.Data.StickerFormat toJSON :: StickerFormat -> Value # toEncoding :: StickerFormat -> Encoding # toJSONList :: [StickerFormat] -> Value # toEncodingList :: [StickerFormat] -> Encoding # | |
Show StickerFormat Source # | |
Defined in TD.Data.StickerFormat showsPrec :: Int -> StickerFormat -> ShowS # show :: StickerFormat -> String # showList :: [StickerFormat] -> ShowS # | |
Eq StickerFormat Source # | |
Defined in TD.Data.StickerFormat (==) :: StickerFormat -> StickerFormat -> Bool # (/=) :: StickerFormat -> StickerFormat -> Bool # | |
ShortShow StickerFormat Source # | |
Defined in TD.Data.StickerFormat shortShow :: StickerFormat -> String Source # |