RecoverAuthenticationPassword

public struct RecoverAuthenticationPassword : Codable, Equatable, TDFunction

Recovers the password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Recovery code to check

    Declaration

    Swift

    public let recoveryCode: String
  • Recovers the password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword

    Declaration

    Swift

    public init(recoveryCode: String)

    Parameters

    recoveryCode

    Recovery code to check