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