Code Monkey home page Code Monkey logo

Comments (5)

batreller avatar batreller commented on June 10, 2024

Hi, there are several possible reasons why it can happen, but the most popular is that you were handling 2 connections to one auth key at the same time

e.g.
you had telethon session, you converted it to program and connected to both of them at same time your account will be blocked immediately (if you switch them very quickly it also may be very dangerous) in your case I think what you did is you had telegram opened on android device (so you had active session on your android device), and at the same time you connected to the same session but using pyrogram

Also you need to realise that on telegram's side that is possible to fix, but personally, I think it won't be fixed soon (maybe at least in a year), technically everything this software does is just extract auth key from android session so you could keep exploring it and use it in a way that you want to

So just try to follow these rules:

  1. Don't connect twice to 1 session at same time
  2. Don't swap between sessions too fast
  3. Based on my own experience I can say that converting to telethon to get account id and then converting to tdata is super dangerous, you better wait after you extracted account id, or the best thing to do is don't convert to telethon, just extract account id from android session and convert to tdata, based on my experience it is very safe and my session never died after that

from telegram_android_session_converter.

luckyooh avatar luckyooh commented on June 10, 2024

I feel like you are very experienced. I am now encountering a problem where I want to find the user ID from the mobile phone number of any user. Do you have any good method other than importing the address book?

from telegram_android_session_converter.

batreller avatar batreller commented on June 10, 2024

try searching in database (in cache)

from telegram_android_session_converter.

G-shaft avatar G-shaft commented on June 10, 2024

just extract account id from android session and convert to tdata

How can I do that? I can't find examples of implementation((

from telegram_android_session_converter.

hashemdalijeh avatar hashemdalijeh commented on June 10, 2024

@luckyooh Maybe the type of API you used to connect the session caused you to worry. You can use the official Telegram API here.

I generated pyrogram session_string, and my account was immediately banned after using pyrogram request. Have you encountered this situation?

from telegram_android_session_converter.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.