5 Telegram setup
nAffie edited this page 2017-12-24 04:56:03 +01:00

Setup telegram so ProfitTrailer can send you Telegram messages

  1. Talk to @BotFather (NOT to be confused with TheBotFather channel!!!)
    Once there type "/newbot" to create a bot. Answer the questions by typing answers and pressing enter.
    You will receive a message containing your bot token.

  2. Start a chat with your bot's name (for ex. @MyTPBot) and press start button

  3. Start another chat with https://telegram.me/id_chatbot This bot will reveal your Chat ID

  4. Edit application.properties and set:

    telegram.botToken = "your bot token"
    telegram.chatId = "your chat id"
    telegram.postNewOrders = true
    
  5. Restart ProfitTrailer

  6. Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup.
    You will receive a message if the setup is correct.