haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.Destroy

Synopsis

Documentation

data Destroy Source #

Closes the TDLib instance, destroying all local data without a proper logout. The current user session will remain in the list of all active sessions. All local data will be destroyed. After the destruction completes updateAuthorizationState with authorizationStateClosed will be sent. Can be called before authorization. Returns Ok

Constructors

Destroy 

Instances

Instances details
ToJSON Destroy Source # 
Instance details

Defined in TD.Query.Destroy

Show Destroy Source # 
Instance details

Defined in TD.Query.Destroy

Eq Destroy Source # 
Instance details

Defined in TD.Query.Destroy

Methods

(==) :: Destroy -> Destroy -> Bool #

(/=) :: Destroy -> Destroy -> Bool #

ShortShow Destroy Source # 
Instance details

Defined in TD.Query.Destroy