I need three telegram accounts to test my project. Is it possible to create or obtain them someway? Or i have to buy three sim-cards and register three accounts?
This is documented in here: https://core.telegram.org/api/auth#test-accounts
Basically you need to connect to test DC with specific number in range 99966XYYYY
, confirmation code is always XXXXX
(X from phone number repeated 5 times where X must be between 1-3).
If you want to login to test account on telegram desktop:
Alt+Shift
and right click on “Add account”, then choose “Test server”9996621111
, then confirm with code 22222
For Android:
6621111
, then confirm with code 22222