Here's a quick step-by-step guide to create a Telegram bot, get its API token, and obtain your chat ID.
I - Create the bot with BotFather to have your own Bot Token
- Open the Telegram app (mobile or desktop).
- Search for BotFather and start a chat.
- Send: "/newbot" command (without quotes) to start creating your new bot
- Follow BotFather’s prompts:
- Enter a bot name (display name).
- Enter a username that ends with bot (e.g., MyTradingAlerts_bot). - BotFather will reply with your Bot API Token (looks like 123456789:ABCdefGhIJK... )
- Copy and keep the token above safe
II - Get your Chat ID (personal, group or channel)
- Open the Telegram app (mobile or desktop).
- Search for @userinfobot and start a chat.
- Copy the Id in reply message. It looks like 2012234567
Note: There are many other bots that can give you the Telegram Chat ID. You can search and use any bot that you like.
III - Notes / tips
- Add bot to a channel: To receive messages in a channel, add the bot you created above as an admin and give it posting rights.
- Groups & privacy: If the bot should see all messages in a group, use /setprivacy in BotFather to disable privacy for the bot.
- Keep the token secret — if it’s leaked, regenerate it in BotFather ( /token or /revoke ) and update your Alerts Manager settings.
IV - Use with Smart Alert Manager
Copy the Bot API token above to Bot Key field and the Chat ID above to Chat Id field to start receiving alert messages. Remember to add the bot as an Admin if your intend to receive alert messages in a private Group or Channel.