account.getTmpPassword
Get temporary payment password
| Name | Type | Required | Description |
|---|---|---|---|
password | InputCheckPasswordSRP | Yes | SRP password parameters |
period | int | Yes | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 |
Responses
account.TmpPassword
MTProto RPC
- 400 · PASSWORD_HASH_INVALID — The provided password hash is invalid.
- 400 · SRP_A_INVALID — The specified inputCheckPasswordSRP.A value is invalid.
- 400 · TMP_PASSWORD_DISABLED — The temporary password is disabled.