fix: NameError reply_markup → keyboard в _send_with_keyboard

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anor
2026-03-09 06:44:13 +10:00
co-authored by Claude Opus 4.6
parent 052d10dcb6
commit c2be13975f
+1 -1
View File
@@ -257,7 +257,7 @@ def _send_with_keyboard(cfg, text: str, keyboard=None):
"parse_mode": "HTML",
}
if keyboard:
payload["reply_markup"] = reply_markup
payload["reply_markup"] = keyboard
try:
httpx.post(url, json=payload, timeout=10)
except Exception: