module TD.Query.GetCloseFriends
(GetCloseFriends(..)
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data GetCloseFriends
= GetCloseFriends
deriving (GetCloseFriends -> GetCloseFriends -> Bool
(GetCloseFriends -> GetCloseFriends -> Bool)
-> (GetCloseFriends -> GetCloseFriends -> Bool)
-> Eq GetCloseFriends
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetCloseFriends -> GetCloseFriends -> Bool
== :: GetCloseFriends -> GetCloseFriends -> Bool
$c/= :: GetCloseFriends -> GetCloseFriends -> Bool
/= :: GetCloseFriends -> GetCloseFriends -> Bool
Eq, Int -> GetCloseFriends -> ShowS
[GetCloseFriends] -> ShowS
GetCloseFriends -> String
(Int -> GetCloseFriends -> ShowS)
-> (GetCloseFriends -> String)
-> ([GetCloseFriends] -> ShowS)
-> Show GetCloseFriends
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetCloseFriends -> ShowS
showsPrec :: Int -> GetCloseFriends -> ShowS
$cshow :: GetCloseFriends -> String
show :: GetCloseFriends -> String
$cshowList :: [GetCloseFriends] -> ShowS
showList :: [GetCloseFriends] -> ShowS
Show)
instance I.ShortShow GetCloseFriends where
shortShow :: GetCloseFriends -> String
shortShow
GetCloseFriends
GetCloseFriends
= String
"GetCloseFriends"
instance AT.ToJSON GetCloseFriends where
toJSON :: GetCloseFriends -> Value
toJSON
GetCloseFriends
GetCloseFriends
= [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
"getCloseFriends"
]