Closed unityatadev closed 6 months ago
I succesfully login and then logout . But then when try relogin I dont get auth code in telegram . clientMap is array of clients. //relogin
await clientMap[telegram_client_id].login(() => ({ type: 'user', getPhoneNumber: retry => retry ? Promise.reject('Invalid phone number') : Promise.resolve(telegram_client[0].phone), getPassword: (passwordHint, retry) => retry ? Promise.reject('Invalid password') : Promise.resolve(telegram_client[0].two_factor_authentication) }));
I think you should log in again using a different client.
thank you a lot. It worked I replaced my old client with new and now getting all updates and auth code
I succesfully login and then logout . But then when try relogin I dont get auth code in telegram . clientMap is array of clients. //relogin