sochix / TLSharp

Telegram client library implemented in C#
1k stars 380 forks source link

Account had been deactivated and banned #439

Closed samuelg78 closed 7 years ago

samuelg78 commented 7 years ago

My account had been deactivated and banned this morning. I had tried another number but also encountered the same issue. I tried to login from my phone App but show the "Banned Phone Number".

The sequence of errors before deactivated:

  1. Unable to read data from transport connection
  2. Client not connected to server
  3. USER_DEACTIVATED

Anyone encounter the same issue? How to unban the number?

gviddy commented 7 years ago

Wtf.. Same thing just happened to me.. Wtf.. I cannot even use the official app anywhere.. Using this library has somehow gotten me banned... Not impressed! 🙁

ali-kamali commented 7 years ago

Same thing just happened to me!!

ridicoulous commented 7 years ago

The same problem was happen with me. I write about this problem at abuse@telegram.org and twitter-accounts: telegram, smstelegram, but I have not feedback.

ali-kamali commented 7 years ago

This error appear when i try to active in web : Method: auth.sendCode Url: N/A Result: {"_":"rpc_error","error_code":400,"error_message":"PHONE_NUMBER_BANNED"}

ridicoulous commented 7 years ago

Yes. the same error. Write about this at abuse@telegram.org or at https://twitter.com/smstelegram

https://telegram.org/faq#smstelegram-login-help-on-twitter

samuelg78 commented 7 years ago

I had also written at https://twitter.com/smstelegram, but no reply from them yet.

gviddy commented 7 years ago

OK, so today I am unbanned..

Personally I did not realise Telegram bans users from their service. If anything all I did with this library was send maximum 5 messages, and grabbed the contact list a couple times.. Just a quick play with the library...

If this results in my phone number being banned then I don't know how Telegram expects anyone to use their API.... :(

ali-kamali commented 7 years ago

I had also written about this. no reply yet. @gviddy How do you get unbanned?

ridicoulous commented 7 years ago

@gviddy How do you get unbanned, tell us please

gviddy commented 7 years ago

Oh i did nothing.. I just assumed it was a 24 hour ban? Maybe you guys check again tomorrow?

Possibly this library is doing something it shouldn't and thats why we all got banned....

MikhailKrasnobaev commented 7 years ago

Wrote to twitter, telegram support, vk.com telegram support - account got unbanned. Still don't know what happened.

hadi77ir commented 7 years ago

Probably it's because you don't use the server provided by Telegram for development. (When you opt-in for an API key and hash, it gives you two IP addresses: one for production, one for development) We may have to modify "Session.cs" and "TelegramClient.cs" to support custom server addresses.

ali-kamali commented 7 years ago

today I am unbanned too.

samuelg78 commented 7 years ago

Yes.... i was unbanned. Wrote to @smstelegram but no reply. Is the support dead?

omarmaher100 commented 7 years ago

The same with me but I sent to them on this email abuse@telegram.org And asked them to remove ban and it's done After they removed ban you will need to authorize your number again

mintmilk commented 7 years ago

Mine's banned too.but Why so many people has been banned?

bedefaced commented 7 years ago

@mintmilk see hadi77ir's comment. Problem is IP to which library is connecting by default.

pp4x commented 6 years ago

I've done a small change to the API to address this issue: this way, once you've registered your session, You don't need to authorise again until client.IsUserAuthorised returns false.

I've just exposed a property named Session { get { return _session; } } so that I can retrieve its TLUser without signing in again. Apparently, that worked.

Sample App code:

            client = new TelegramClient(APIId, APIHash);
            await client.ConnectAsync();
            Console.WriteLine($"Authorised: {client.IsUserAuthorized()}");
            TLUser user = null;
            if (client.IsUserAuthorized())
                user = client.Session.TLUser;
            else
            {
                var registered = await client.IsPhoneRegisteredAsync(phone);
                var hash = await client.SendCodeRequestAsync(phone);
                Console.Write("Code: ");
                var code = Console.ReadLine();
                if (!registered)
                {
                    Console.WriteLine($"Sign up {phone}");
                    user = await client.SignUpAsync(phone, hash, code, "first", "last");
                }
                Console.WriteLine($"Sign in {phone}");
                user = await client.MakeAuthAsync(phone, hash, code);
            }

Perhaps it would be more consistent if the class was changed from bool IsUserAuthorized() to a TLUser AuthorizedUser() that returns null whenever no one has signed in yet.

knocte commented 6 years ago

@ppanhoto78 interesting, did you publish a pull request for this?

Kamahoro commented 6 years ago

Hi,

I'm trying to create a telegram group and I get this message : INPUT_USER_DEACTIVATED. What does it mean and what should I do to create the group?

I've reached out to Telegram both from the phone App and on Twitter but no response!

pp4x commented 6 years ago

@knocte I was in such a hurry that I just committed to master along with other changes. Sorry for that.

pieuxvu commented 6 years ago

Fucking telegram, my account is banned without any reason. Shit company

nguyenvu1981 commented 6 years ago

my account is banned without any reason. Please help reopen it

veptagg commented 6 years ago

Telegram is a useless program . fucking shit. banning someone without a reason they are stupid

aklema commented 6 years ago

can my account be fixed? " ? Please help me .

ilya-palachev commented 6 years ago

I had the same problem, and wrote to "login@stel.com". After several hours they replied as follows:

Hello, The issue with your phone number should be solved now, please check. We apologize for all the inconvenience caused. Do not hesitate to contact us again if you encounter any similar problem. Please contact our support service (Settings - Ask a Question), should you have any questions about Telegram. Regards, Telegram Recovery Team

and the problem has been resolved, now my phone number is unbanned.