Start Telegram login
telegram_login_startStart Telegram login by sending a verification code to the user's Telegram app when no active session exists; then have the user provide the code to complete authorization.
Instructions
Begin authorization when no session exists. Sends the login code to the user's Telegram app. Pass phone in international format (+15551234567) unless TELEGRAM_PHONE is set in the environment. After calling this, ask the user to read the code Telegram just sent them and call telegram_login_code. NEVER ask the user to paste the code anywhere except this chat, and never repeat it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Replace an existing working session with a fresh one. Only when the user asks. | |
| phone | No | International phone number with leading +, e.g. +15551234567 |