Telegram Setup

Quickly set up your Telegram environment for unCoded: create a bot via BotFather, add it (plus @my\_id\_bot) to a group as admin, and retrieve the Chat ID and User ID needed for


  1. Create a Bot via BotFather

  • Open a chat with @BotFather on Telegram.

  • Send the command:

    /newbot  
  • Follow the prompts to choose a name and username for your bot.

  • Once complete, you will receive the Bot Token, which you will later add to your server configuration.


  1. Create a Group and Add the Bot

  • In Telegram, create a new group and add:

    • Your newly created bot

    • The helper bot @my_id_bot

  • In the group’s Administrators settings, make your bot an administrator so it can read messages and execute commands.


  1. Retrieve the Group Chat ID

  • In the group chat, send:

    /id@my_id_bot  
  • @my_id_bot will reply with two values:

    1. Chat ID (e.g., -1001234567890)

    2. Your User ID (for special admin commands)


Note: How to integrate the Bot Token and Chat ID into your server configuration is covered in the next section of the documentation.

Last updated