module TD.Query.GetFavoriteStickers
(GetFavoriteStickers(..)
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data GetFavoriteStickers
= GetFavoriteStickers
deriving (GetFavoriteStickers -> GetFavoriteStickers -> Bool
(GetFavoriteStickers -> GetFavoriteStickers -> Bool)
-> (GetFavoriteStickers -> GetFavoriteStickers -> Bool)
-> Eq GetFavoriteStickers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetFavoriteStickers -> GetFavoriteStickers -> Bool
== :: GetFavoriteStickers -> GetFavoriteStickers -> Bool
$c/= :: GetFavoriteStickers -> GetFavoriteStickers -> Bool
/= :: GetFavoriteStickers -> GetFavoriteStickers -> Bool
Eq, Int -> GetFavoriteStickers -> ShowS
[GetFavoriteStickers] -> ShowS
GetFavoriteStickers -> String
(Int -> GetFavoriteStickers -> ShowS)
-> (GetFavoriteStickers -> String)
-> ([GetFavoriteStickers] -> ShowS)
-> Show GetFavoriteStickers
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetFavoriteStickers -> ShowS
showsPrec :: Int -> GetFavoriteStickers -> ShowS
$cshow :: GetFavoriteStickers -> String
show :: GetFavoriteStickers -> String
$cshowList :: [GetFavoriteStickers] -> ShowS
showList :: [GetFavoriteStickers] -> ShowS
Show)
instance I.ShortShow GetFavoriteStickers where
shortShow :: GetFavoriteStickers -> String
shortShow
GetFavoriteStickers
GetFavoriteStickers
= String
"GetFavoriteStickers"
instance AT.ToJSON GetFavoriteStickers where
toJSON :: GetFavoriteStickers -> Value
toJSON
GetFavoriteStickers
GetFavoriteStickers
= [Pair] -> Value
A.object
[ Key
"@type" Key -> Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Text -> Value
AT.String Text
"getFavoriteStickers"
]