How to: Telegram Alerts

1. Create a Private Group

  • In Telegram, create a new private group that will host your alerts.

2. Create a Bot with BotFather

  1. Open @BotFather and send /start.
  2. Run /newbot and follow the prompts to name the bot and choose a username.
  3. BotFather returns a bot token. Store it securely; you will need it in the next steps.

3. Add the Bot to the Group

  • Open the bot profile and choose Add to group.
  • Select the group you created in step 1.

4. Retrieve the Chat ID

  1. Use the bot token to call the Telegram API:

    https://api.telegram.org/bot<token>/getUpdates

    Example:

    https://api.telegram.org/bot123456789:abcdef/getUpdates
  2. If the response is empty, remove the bot from the group and add it again.

  3. In the JSON payload, find my_chat_member > chat > id. This value (often prefixed with -) is your group chat ID.

5. Configure DorkPlus

  • Enter the bot token and chat ID in the Global settings page.
  • Enable the notifications you want to receive.

On this page