get_tmp_password()

async Client.get_tmp_password()

Get temporary payment password.

Usable by Users Bots
Parameters:
  • password (InputCheckPasswordSRP) – SRP password parameters.

  • period (int) – Time during which the temporary password will be valid, in seconds (between 60 and 86400).

Returns:

TmpPassword – On success, temporary password is returned.