Search code examples
telegramtelegram-bottelegram-api

my.telegram.org sends an ERROR when I want to create an API id/hash in API development tools section


I'm trying to get my API id/hash to create some bots for telegram , but in the API developmen tools section , when I enter my bot informations( name , shortname...) and click on create to get the results , I recieve an error :

my.telegram.org says ERROR

I live in Iran and telegram servers are blocked here .

Any solution for this problem?

!! I found the Iranians-only solution which I wrote down below .


Solution

  • NEW and SIMPLE answer :

    • Just ask the bot father (https://t.me/BotFather) to help you create a new bot and give you the api key . very simple and lovely . (thanks Mr.https://stackoverflow.com/users/5485852/john)
    1. go to https://t.me/BotFather
    2. type /newbot
    3. choose a name for your bot
    4. choose a username for your bot
    5. Done! it will send you the HTTP API key .

    enter image description here

    My OLD answer: (Mosty for countries that have blocked Telegram!)

    • Use good VPNs that can hide your main ip. Telegram's website can find your main ip and will not allow you to use its features, so try different SAFE VPNs until you finally get your api key .(but the better way is to ask the bot father (https://t.me/BotFather)