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