revx-telegram
Original:🇺🇸 English
Translated
Revolut X Telegram notification connector. Use when the user asks to "set up Telegram alerts", "add Telegram bot", "manage Telegram connection", "test Telegram notification", or runs revx connector telegram commands.
11installs
Added on
NPX Install
npx skill4agent add revolut-engineering/revolut-x-api revx-telegramTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Telegram Connector (revx connector telegram
)
revx connector telegramConfigure Telegram bot integrations for alert notifications from monitors and the grid bot.
Auth required. Make sureis installed and configured before running these commands. If any command fails with an auth-related error —revx,Auth not configured,No private key found,Authentication failed (401),Invalid signature, or a missing key/config file atinsecure permissions— invoke the~/.config/revolut-x/skill immediately and apply the fix yourself. Do not interrupt the user to ask them to run setup. Only escalate to the user for steps only they can perform (pasting the API key, registering the public key in their Revolut X profile, choosing a passphrase). After the fix, retry the original command.revx-auth
Add a Connection
bash
revx connector telegram add --token <bot-token> --chat-id <chat-id>
revx connector telegram add --token <token> --chat-id <id> --label prod --test| Flag | Description |
|---|---|
| Telegram Bot API token (required) |
| Telegram chat ID (required) |
| Connection label (default: "default") |
| Send test message after adding |
Behavioral Instructions for Claude
When the user wants to set up Telegram notifications, they need two things: a bot token and a chat ID. If either is missing, walk them through the setup below. Share the relevant steps as a message the user can follow — do not attempt to perform these steps via tools, as they require the user's Telegram app.
Setup Guide: Getting a Bot Token and Chat ID
Share the following instructions with the user when they need help setting up Telegram:
Step 1 — Create a Telegram Bot (to get the bot token):
- Open Telegram (mobile or desktop)
- Search for @BotFather and start a chat
- Send
/newbot - BotFather will ask for a display name (e.g., "My RevX Alerts") — type any name
- BotFather will ask for a username ending in (e.g.,
bot) — must be uniquemy_revx_alerts_bot - BotFather replies with your bot token — it looks like
123456789:ABCdefGHI-jklMNOpqrSTUvwxYZ - Copy the token and share it back here
Step 2 — Get your Chat ID:
- Open Telegram and find your new bot (search for the username you just created)
- Send any message to the bot (e.g., "hello")
- Open this URL in a browser — replace with the token from Step 1:
<YOUR_TOKEN>https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates - In the JSON response, find — that number is your chat ID
"chat":{"id": <number>} - It's usually a positive number for personal chats (e.g., ) or a negative number for group chats (e.g.,
123456789)-1001234567890 - Copy the chat ID and share it back here
Step 3 — Add the connection (Claude runs this):
Once the user provides both values, run:
bash
revx connector telegram add --token <bot-token> --chat-id <chat-id> --testThe flag sends a test message to verify the connection works. If the test succeeds, the setup is complete.
--testTroubleshooting:
- "chat not found" or empty response — the user must send a message to the bot first, then retry the URL
getUpdates - "Unauthorized" — the token is incorrect, ask the user to copy it again from BotFather
- For group chats: the bot must be added to the group as a member, then someone must send a message in the group before shows the group chat ID
getUpdates
Manage Connections
bash
revx connector telegram list # List all connections
revx connector telegram test <connection-id> # Send test message
revx connector telegram test <id> --message "Custom test"
revx connector telegram enable <connection-id> # Enable connection
revx connector telegram disable <connection-id> # Disable connection
revx connector telegram delete <connection-id> # Delete connectionHow Notifications Work
Once a Telegram connection is configured and enabled:
- Monitor alerts (see skill) are automatically sent as Telegram messages when triggered
revx-monitor - Grid bot events (see skill) send notifications on startup, shutdown, fills, and P&L changes
revx-strategy
No additional configuration is needed — active monitors and the grid bot detect enabled Telegram connections automatically.
Related Skills
| Skill | Purpose |
|---|---|
| Set up price/indicator alerts that notify via Telegram |
| Grid bot sends trade notifications via Telegram |
| API key setup and configuration |