Skip to content

createTemporaryPassword

Function · TDLib 1.8.67 · d1085f9c

Creates a new temporary password for processing payments

createTemporaryPassword(
  password: string,
  valid_for: int32
) → TemporaryPasswordState

password

string

The 2-step verification password of the current user

valid_for

int32

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