Submit the Telegram login code
telegram_login_codeSubmit the Telegram code sent to the user to complete account login. If two-factor authentication is enabled, request the user's password next.
Instructions
Finish login by submitting the code Telegram sent the user. Call telegram_login_start first. If the account has 2FA, this returns needsPassword:true and you must ask the user for their 2FA password, then call telegram_login_password. Never echo the code or password back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code the user typed, digits only. |