Telegram → Settings → Devices → Scan QR
Click the button, get a QR code, scan it, and login will complete automatically.