Skip to main content

Settings

A plugin that allows you to send messages via Telegram.

Bot Token

Your telegram bot token.

Chat ID

The ID of the chat to send messages to.


Using a Bot to Find Your User ID

You can create a bot specifically for this purpose.

Here's how to do it:

  1. Go to Telegram and search for the "BotFather."
  2. Start a chat with the BotFather and send the /newbot command.
  3. Follow the instructions to create a new bot and give it a name and username.
  4. Once your bot is created, the BotFather will provide you with a token. Copy this token.
  5. Go to the Telegram chat where you want to find your user ID.
  6. Invite your bot to the chat by its username, or add it to a group.
  7. Send any message in the chat.
  8. Visit the following URL in your web browser, replacing YOUR_BOT_TOKEN with the token you received:
https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
  1. Look for the "chat" object in the JSON response. Your user ID will be the value of the "id" field. It typically starts with a minus sign ("-") for users.