td
td copied to clipboard
How do I use the test DC to test auth flow?
Repeat ? Ver 1.8.47
Does not work (useTestDc as True). I used 9996625555 as phone number and sent 22222 as code.
Dump:
state.CodeInfo: &{
meta:{Type: Extra: ClientId:0}
PhoneNumber:9996625555
Type:&{
meta:{Type:authenticationCodeTypeSms Extra: ClientId:0}
Length:5
}
NextType:<nil>
Timeout:0
}
You need to use a real phone number to log in. The test phone numbers don't work anymore for regular users.
I tried with my real phone number instead of the test one, but I am not receiving the confirmation code by sms. Do I need to take an additional step to trigger code delivery? or is the code predefined?
You need to create the account using an official mobile app first.