CheckAuthenticationCode

public struct CheckAuthenticationCode : Codable, Equatable, TDFunction

Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • The verification code received via SMS, Telegram message, phone call, or flash call

    Declaration

    Swift

    public let code: String
  • Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode

    Declaration

    Swift

    public init(code: String)

    Parameters

    code

    The verification code received via SMS, Telegram message, phone call, or flash call