View Source ExTDLib.Method.CreateTemporaryPassword (ExTDLib v0.0.4)
Creates a new temporary password for processing payments. Returns object_ptr<TemporaryPasswordState>.
| Name | Type | Description |
|---|---|---|
| password | string | The 2-step verification password of the current user. |
| valid_for | number | Time during which the temporary password will be valid, in seconds; must be between 60 and 86400. |
More details on telegram's documentation.