Yahoo España Búsqueda web

Search results

  1. Signing In. Before working with Telegram’s API, you need to get your own API ID and hash: Login to your Telegram account with the phone number of the developer account to use. Click under API Development tools. A Create new application window will appear. Fill in your application details.

  2. 1 de oct. de 2020 · I am trying to program a telegram bot which accesses the Telegram Client, using the Telethon library. Everything is working correctly in the code below, but when running the code, the Telegram Auth procedure is run through the Terminal.

  3. It is up to the caller to decide how to present the code to the user, whether it’s the URL, using the token bytes directly, or generating a QR code and displaying it by other means. See the documentation for QRLogin to see how to proceed after this.

  4. Signing in. Most of Telegram’s API methods are gated behind an account login. But before you can interact with the API at all, you will need to obtain an API ID and hash pair for your application.

  5. Example. Please refer to the documentation of client.sign_in() to learn about the parameters and see several code examples on how to use it. The method above is the recommended way to do it.

  6. 10 de feb. de 2023 · -1. I have the following problem: I am trying to authorize a telegram client using a session created by telethon. When you run the code in the console, as befits, the phone number associated with the account is requested, followed by the confirmation code received from Telegram.

  7. Telethon is an asyncio Python 3 MTProto library to interact with Telegram 's API as a user or through a bot account (bot API alternative). Important. If you have code using Telethon before its 1.0 version, you must read Compatibility and Convenience to learn how to migrate.