Другие языки программирования и технологии

Что вписывать в url Telegram api

https://my.telegram.org какую ссылку надо вписать под url чтоб получить api_id и api_hash
что такое api_id и api_hash?
Юра Лысиков
Юра Лысиков
6 414
Лучший ответ
Александр Кокорин Api параметры аккаунта телеграмм
Это нужно делать в самом телеграмме:

В BotFather вбиваешь „/token“
(без кавычек, разумеется)

Он ругается по импортному: „You don't have any bots yet. Use the /newbot command to create a new bot first.“

Хорошо. Забъём “/newbot“

О! Уже интереснее: „Alright, a new bot. How are we going to call it? Please choose a name for your bot.“

Путь будет „SashaFishka“

Вот и готово:
„Done! Congratulations on your new bot. You will find it at [xxxxxx]. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.

Use this token to access the HTTP API:
ХХХХХХХХХХ: ХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХ
Keep your token secure and store it safely, it can be used by anyone to control your bot.

For a description of the Bot API, see this page: …“

Вот где эти самые ХХХХХ… — это и будет твой токен
А фраза „You will find it at [xxxxxx]“
переводится так „Вы найдете его по адресу [xxxxxx]“

P.S. Все имена изменены ;–)

P.P.S. Прошу не обижаться, что так склонял ваши имя и фамилию… Просто показалось, что так будет звучать… Рыба — fish… Рыбкин — Fishkin
Олег Бондаренко ты что за ересь пишешь?