telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.38k stars 5.25k forks source link

TG Desktop cannot create Test Server for bot testing #28636

Open joeperpetua opened 2 weeks ago

joeperpetua commented 2 weeks ago

Steps to reproduce

Follow instructions in TON docs: https://docs.ton.org/v3/guidelines/dapps/tma/guidelines/testing-apps#using-bots-in-the-test-environment

Telegram Desktop: open ☰ Settings > Shift + Alt + Right click ‘Add Account’ and select ‘Test Server’.

Expected behaviour

Test server should be created

Actual behaviour

The desktop app redirects you to a QR code login (which does not work when scanned on Android app, error "AUTH_TOKEN_INVALID2" ).

Telegram_OhAHoDgwnC

image

Operating system

Windows 11 (22631) / Android 14 (OneUI 6.1)

Version of Telegram Desktop

5.7.2 / Android v11.3.3 (5396)

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

john-preston commented 2 weeks ago

It is invalid if you scan the test server QR from a production server account. You need to have a test server login on the mobile app, then you can either scan QR code for login from this account or you can log in by phone number and receive login code in that test server account on your mobile app.

joeperpetua commented 2 weeks ago

Thanks for the response, I guess there is no way to use it with Android then, right?

I could not find any info in the docs about Android devices :/