fix(05-01): switch Show Menu to native Telegram node

HTTP Request node with $credentials reference was causing 404 errors.
Native Telegram node handles credentials more reliably for static menus.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Berger
2026-01-31 21:31:16 -05:00
parent 32fd965a2f
commit 6defb2daaf
+24 -9
View File
@@ -2071,17 +2071,32 @@
}, },
{ {
"parameters": { "parameters": {
"method": "POST", "resource": "message",
"url": "=https://api.telegram.org/bot{{ $credentials.telegramApi.accessToken }}/sendMessage", "operation": "sendMessage",
"sendBody": true, "chatId": "={{ $json.message.chat.id }}",
"specifyBody": "json", "text": "Use buttons below or type commands:",
"jsonBody": "={{ JSON.stringify({ \"chat_id\": $json.message.chat.id, \"text\": \"Use buttons below or type commands:\", \"parse_mode\": \"HTML\", \"reply_markup\": { \"keyboard\": [[{\"text\": \"Status\"}], [{\"text\": \"Start\"}, {\"text\": \"Stop\"}], [{\"text\": \"Restart\"}, {\"text\": \"Update\"}], [{\"text\": \"Logs\"}]], \"is_persistent\": true, \"resize_keyboard\": true, \"one_time_keyboard\": false } }) }}", "additionalFields": {
"options": {} "parse_mode": "HTML",
"replyMarkup": "replyKeyboard",
"replyKeyboard": {
"rows": [
{ "row": { "buttons": [{ "text": "Status" }] } },
{ "row": { "buttons": [{ "text": "Start" }, { "text": "Stop" }] } },
{ "row": { "buttons": [{ "text": "Restart" }, { "text": "Update" }] } },
{ "row": { "buttons": [{ "text": "Logs" }] } }
]
},
"replyKeyboardOptions": {
"resize_keyboard": true,
"one_time_keyboard": false,
"is_persistent": true
}
}
}, },
"id": "http-show-menu", "id": "telegram-show-menu",
"name": "Show Menu", "name": "Show Menu",
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.telegram",
"typeVersion": 4.2, "typeVersion": 1.2,
"position": [ "position": [
1120, 1120,
300 300