Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data GetCurrentState = GetCurrentState
Documentation
data GetCurrentState Source #
Returns all updates needed to restore current TDLib state, i.e. all actual updateAuthorizationStateupdateUserupdateNewChat and others. This is especially useful if TDLib is run in a separate process. Can be called before initialization. Returns Updates
Instances
ToJSON GetCurrentState Source # | |
Defined in TD.Query.GetCurrentState toJSON :: GetCurrentState -> Value # toEncoding :: GetCurrentState -> Encoding # toJSONList :: [GetCurrentState] -> Value # toEncodingList :: [GetCurrentState] -> Encoding # | |
Show GetCurrentState Source # | |
Defined in TD.Query.GetCurrentState showsPrec :: Int -> GetCurrentState -> ShowS # show :: GetCurrentState -> String # showList :: [GetCurrentState] -> ShowS # | |
Eq GetCurrentState Source # | |
Defined in TD.Query.GetCurrentState (==) :: GetCurrentState -> GetCurrentState -> Bool # (/=) :: GetCurrentState -> GetCurrentState -> Bool # | |
ShortShow GetCurrentState Source # | |
Defined in TD.Query.GetCurrentState shortShow :: GetCurrentState -> String Source # |