How to Set Up External Alerts: Difference between revisions
From MultiCharts
How to Set Up External Alerts (view source)
Revision as of 13:07, 17 November 2023
, 17 November 2023no edit summary
No edit summary |
|||
Line 20: | Line 20: | ||
# Enable your bot by sending the /Start command | # Enable your bot by sending the /Start command | ||
# Get your Telegram User ID (see the Using Telegram Bot section) | # Get your Telegram User ID (see the Using Telegram Bot section) | ||
# In '''File | # In '''File → Preferences → External Alerts → Slack''' click '''Add''' | ||
# Insert a request link using your Token and User ID<br>https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<USER_ID><br>For example: https://api.telegram.org/bot0000000000:AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDD/sendMessage?chat_id=0123454678 | # Insert a request link using your Token and User ID<br>https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<USER_ID><br>For example: https://api.telegram.org/bot0000000000:AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDD/sendMessage?chat_id=0123454678 | ||
# Click '''Test''' to send a test message | # Click '''Test''' to send a test message | ||
Line 27: | Line 27: | ||
To send alerts to Slack, it is required to connect using a WebHook URl. | To send alerts to Slack, it is required to connect using a WebHook URl. | ||
# In Slack go to '''File -> Settings & Administration -> Manage Apps'''. A Manage Apps web page will open up in your browser. | # In Slack go to '''File -> Settings & Administration -> Manage Apps'''. A Manage Apps web page will open up in your browser. | ||
# Go to '''Custom Integration | # Go to '''Custom Integration → Incoming WebHooks → click Add to Slack''' | ||
# Choose or create a new channel and click '''Add Incoming WebHooks integration''' | # Choose or create a new channel and click '''Add Incoming WebHooks integration''' | ||
# Copy the WebHook URL and paste it in | # Copy the WebHook URL and paste it in '''File → Preferences → External Alerts → Slack → Add''' |