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