Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsPhoneRegistered returns true all of the time #12

Open
TourajOstovari opened this issue Sep 2, 2020 · 1 comment
Open

IsPhoneRegistered returns true all of the time #12

TourajOstovari opened this issue Sep 2, 2020 · 1 comment

Comments

@TourajOstovari
Copy link

Hello, here is my code that your Library returns true for any numbers with any formats as True while that number is not available in the world and in telegram.
var client = new TLSharp.Core.TelegramClient(1714491, "fefad7e2e1208646a71935b25668a46f"); await client.ConnectAsync(); if (client.IsConnected) { bool result = await client.IsPhoneRegisteredAsync(String.Concat(98,Start)); MessageBox.Show((result ? "این شماره در تلگرام موجود است." : "این شماره در تلگرام موجود نمیباشد و میتوانید آنرا ثبت نمایید.")); }
with any formats like >> +98914xxxx and 98914xxxxx returns true...

@Laiteux
Copy link

Laiteux commented Sep 15, 2020

This is a normal behavior. Telegram won't let you know this info for security reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants