Telegram V2
Version: 2.1
Updated: Jul 07, 2023
Send messages from Cloud SOAR integration with Telegram V2.
Actions​
- Send Message (Enrichment) - Send a new message.
Telegram V2 configuration​
In Telegram application, create new bot sending a message /newbot to Botfather. Choose name and username for your bot. After crating your bot you will receive a message with your token to access the HTTP API. Keep your token secure and store it safely.
Telegram V2 in Automation Service and Cloud SOAR​
- Access integrations in the Automation Service or Cloud SOAR.
- After the list of the integrations appears, search for the integration and click on the row.
- The integration details will appear. Click on the "+" button to add new Resource.
- Populate all the required fields (*) and then click SAVE.
- URL. The Telegram URL
https://api.telegram.org/
. - API Token. the API Token you copied earlier when creating your bot.
- URL. The Telegram URL
- To make sure the resource is working, hover over the resource and then click the pencil icon that appears on the right.
- Click Test.
- You should receive a successful notification in the bottom right corner.
note
- The bot must be Administrator of the chat to send your message.
- The chat ID will be sent without writing it as parameter in Chat field if there are chat updates in 24 hours. Otherwise, needs to be send a message to the chat in Telegram application to continue. Other possible way to obtain chat ID is also from Telegram application following the steps: go on the group of choice, add @rose bot, type the command /id and chat ID will be sent. Use that value in parameter for Chat.
Change Log​
- February 12, 2021 - First upload
- July 7, 2023 (v2.1) - Updated the integration with Environmental Variables