View Source ExTDLib.Method.CreateTemporaryPassword (ExTDLib v0.0.4)

Creates a new temporary password for processing payments. Returns object_ptr<TemporaryPasswordState>.

NameTypeDescription
passwordstringThe 2-step verification password of the current user.
valid_fornumberTime during which the temporary password will be valid, in seconds; must be between 60 and 86400.

More details on telegram's documentation.