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