Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data StickerType Source #
Describes type of sticker
StickerTypeRegular | The sticker is a regular sticker |
StickerTypeMask | The sticker is a mask in WEBP format to be placed on photos or videos |
StickerTypeCustomEmoji | The sticker is a custom emoji to be used inside message text and caption |
Instances
FromJSON StickerType Source # | |
Defined in TD.Data.StickerType parseJSON :: Value -> Parser StickerType # parseJSONList :: Value -> Parser [StickerType] # | |
ToJSON StickerType Source # | |
Defined in TD.Data.StickerType toJSON :: StickerType -> Value # toEncoding :: StickerType -> Encoding # toJSONList :: [StickerType] -> Value # toEncodingList :: [StickerType] -> Encoding # | |
Show StickerType Source # | |
Defined in TD.Data.StickerType showsPrec :: Int -> StickerType -> ShowS # show :: StickerType -> String # showList :: [StickerType] -> ShowS # | |
Eq StickerType Source # | |
Defined in TD.Data.StickerType (==) :: StickerType -> StickerType -> Bool # (/=) :: StickerType -> StickerType -> Bool # | |
ShortShow StickerType Source # | |
Defined in TD.Data.StickerType shortShow :: StickerType -> String Source # |