fix: NameError reply_markup → keyboard в _send_with_keyboard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user