CreateTemporaryPassword

public struct CreateTemporaryPassword : Codable, Equatable, TDFunction

Creates a new temporary password for processing payments

  • Undocumented

    Declaration

    Swift

    public typealias Result = TemporaryPasswordState
  • Persistent user password

    Declaration

    Swift

    public let password: String
  • Time during which the temporary password will be valid, in seconds; should be between 60 and 86400

    Declaration

    Swift

    public let validFor: Int32
  • Creates a new temporary password for processing payments

    Declaration

    Swift

    public init(password: String, validFor: Int32)

    Parameters

    password

    Persistent user password

    validFor

    Time during which the temporary password will be valid, in seconds; should be between 60 and 86400