DeleteAccount
public struct DeleteAccount : Codable, Equatable, TDFunctionDeletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword
- 
                  
                  Undocumented DeclarationSwift public typealias Result = Ok
- 
                  
                  The reason why the account was deleted; optional DeclarationSwift public let reason: String
- 
                  
                  Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword DeclarationSwift public init(reason: String)ParametersreasonThe reason why the account was deleted; optional 
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
           DeleteAccount Structure Reference
      DeleteAccount Structure Reference