Want to filter more then 10 million numbers on Telegram

799 Views Asked by At

I need a little help. I have more then 10 millions number and i want to filter those contacts on telegram like which number exist on telegram or not. I have search a lot but not get any method which fulfil my needs.

I have checked IsphoneRegistered or CheckPhone it return true in every request.

1

There are 1 best solutions below

1
On

Telethon API > ImportContactsRequest

With Telethon API ImportContactsRequest you can check if the given phone exists on Telegram. If found it will return Array with user details otherwise it will return emtpy array.

Note: As of today, you can only get telegram_id of the user, first_name, last_name are returned null even if they exist.