fix(05-01): simplify Show Menu to text-only help message
Native Telegram node replyKeyboard wasn't displaying. Fallback to simple text message listing available commands. Can revisit persistent keyboard feature later. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+2
-16
@@ -2074,23 +2074,9 @@
|
|||||||
"resource": "message",
|
"resource": "message",
|
||||||
"operation": "sendMessage",
|
"operation": "sendMessage",
|
||||||
"chatId": "={{ $json.message.chat.id }}",
|
"chatId": "={{ $json.message.chat.id }}",
|
||||||
"text": "Use buttons below or type commands:",
|
"text": "Choose a command:\n\n• Status - view containers\n• Start/Stop/Restart <name>\n• Update <name>\n• Logs <name>",
|
||||||
"additionalFields": {
|
"additionalFields": {
|
||||||
"parse_mode": "HTML",
|
"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": "telegram-show-menu",
|
"id": "telegram-show-menu",
|
||||||
|
|||||||
Reference in New Issue
Block a user