Where to find the Telegram Api Key

老子叫甜甜 提交于 2020-01-07 09:52:33

问题


I am trying to find the Api Key for Telegram but I cannot find it. Where do I find it on the website? If I use the Api Id, I get the error Incorrect Token Format in the C# Console Application.


回答1:


In special official bot: https://telegram.me/BotFather

Additional information on official Telegram FAQ page: https://core.telegram.org/bots/faq#how-do-i-create-a-bot




回答2:


If someone knows how to make the images a bit smaller through formatting please go ahead and do so because that size is insane.

Like ihoru mentioned in his answer, you can find all of your bots relevant information in BotFather.

So navigate to @BotFather in Telegram. If you have not yet created a bot do so by entering /newbotand follow the instructions on screen. You should get your key at the end of the process.

But now let's assume you already have a bot and can't find the key anymore. Again, go to @BotFather but this time enter /mybots. You should see something like this:

Click/Touch whatever bot you would like your API key for, then you should see this:

Click the API Key button and tadaa there is your key:




回答3:


You mean Telegram API for create a telegram application using C#, not Telegram Bot API, right? to get API key. Please see the step by step below or for detail information you can see this link

  1. Sign up for Telegram using any application.
  2. Log in to your Telegram core: https://my.telegram.org.
  3. Go to ‘API development tools’ and fill out the form.
  4. You will get basic addresses as well as the api_id and api_hash parameters required for user authorization.
  5. For the moment each number can only have one api_id connected to it.

But if you need API for Telegram Bot, You can check the API your bot using BotFather. for detail, you can check on this link

I hope this is useful for you.




回答4:


Are you asking for finding bot's token ? or are looking for telegram client api code ?

@BotFather , gives you the token of each bot you made.

for getting api token for making client , you must make developer account for telegram. it can be you personal account for telegram .



来源:https://stackoverflow.com/questions/43291868/where-to-find-the-telegram-api-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!