Here is a fast step-by-step information to create a Telegram bot, get its API token, and procure your chat ID.
I – Create the bot with BotFather to have your individual Bot Token
- Open the Telegram app (cellular or desktop).
- Seek for BotFather and begin a chat.
- Ship: “/newbot” command (with out quotes) to begin creating your new bot
- Comply with BotFather’s prompts:
– Enter a bot title (show title).
– Enter a username that ends with bot (e.g., MyTradingAlerts_bot). - BotFather will reply together with your Bot API Token (seems like 123456789:ABCdefGhIJK… )
- Copy and maintain the token above protected
II – Get your Chat ID (private, group or channel)
- Open the Telegram app (cellular or desktop).
- Seek for @userinfobot and begin a chat.
- Copy the Id in reply message. It seems like 2012234567
Word: There are various different bots that may provide the Telegram Chat ID. You possibly can search and use any bot that you just like.
III – Notes / ideas
- Add bot to a channel: To obtain messages in a channel, add the bot you created above as an admin and provides it posting rights.
- Teams & privateness: If the bot ought to see all messages in a bunch, use /setprivacy in BotFather to disable privateness for the bot.
- Hold the token secret — if it’s leaked, regenerate it in BotFather ( /token or /revoke ) and replace your Alerts Supervisor settings.
Copy the Bot API token above to Bot Key area and the Chat ID above to Chat Id area to begin receiving alert messages. Keep in mind so as to add the bot as an Admin in case your intend to obtain alert messages in a non-public Group or Channel.