You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vardata={}// Hold all global datadata.telegramLink=require('../telegram.link')();data.app={id: 12345,hash: '12345678901234567890',version: '1.0.0',lang: 'en'};data.client=data.telegramLink.createClient(data.app,data.telegramLink.TEST_PRIMARY_DC,function(ex){if(!ex){console.log('Connected to Telegram!');data.client.auth.checkPhone('79885851900',function(result){console.log(result);});}else{console.log(ex);}})
I have checked and tested telecommander.js, it works fine. My code is very similar to it, but I can't figure out what's wrong.
Please help to correct my code.
The text was updated successfully, but these errors were encountered:
Hi Enrico,
I have similar issue to #8 , but decided to open a new issue too cause issue #8 is closed and you could leave my comment without attention.
My purpose is to know whether the passed phone number was registered in Telegram or no. I have same problem when requesting with your library auth.checkPhone method, which even doesn't requre authorization according API docs.
Here is my script
I have checked and tested telecommander.js, it works fine. My code is very similar to it, but I can't figure out what's wrong.
Please help to correct my code.
The text was updated successfully, but these errors were encountered: