create_temporary_password


Description:

public async TemporaryPasswordState create_temporary_password (string password, int32 valid_for) throws TDLibError

Creates a new temporary password for processing payments

Parameters:

password

The 2-step verification password of the current user

valid_for

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