send_recovery_code()#
- Client.send_recovery_code()#
Send a code to your email to recover your password.
Usable by Users Bots- Returns:
str
– On success, the hidden email pattern is returned and a recovery code is sent to that email.- Raises:
BadRequest – In case no recovery email was set up.