Skip to content

Creating a Telegram bot

    1. Open Telegram and find the BotFather bot. @BotFather
    2. Start a dialog with BotFather with the /start command.
    3. Create a new bot by sending the command:
      /newbot
      Come up with a name for the bot (e.g., MyTestBot).
      Come up with a unique username for the bot (e.g. MyTestBot123_bot). It must end in _bot.
      Get API token – after successful creation BotFather will send you a message with the token in this format:
      1234567890:ABCdefGHIjklMNOpqrstUVWXyz

      💡 Important! This token is the key to controlling the bot. Do not show it to anyone!
    4. Getting chat ID
    5. The chat ID can be personal, group, or channel.
    6. Open Telegram and find a bot @userinfobot
    7. Click Start, and the bot will send your ID, for example Your ID: 123456789

    8. Then open the bot using the link given by @BotFather and write in chat /start
    9. he will not respond, but it will activate the bot.
    10. Now we need to test the bot.
    11. Go to the page with the test – https://goldeneagle.click/Tgtest/
    12. Enter the data from the bot and the test message.
    13. Click the send button.
    14. If the bot receives a message, it means you have configured everything correctly.