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