From 05b15d9ee3bd6a749346ecb3e7e2c60f100b1416 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sat, 11 Jul 2026 21:52:07 +0800 Subject: [PATCH] fix: use copy_text field instead of duplicate text key --- src/tg_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tg_bot.py b/src/tg_bot.py index cfa4dbe..55c62c6 100644 --- a/src/tg_bot.py +++ b/src/tg_bot.py @@ -173,7 +173,7 @@ def _summary_keyboard(can_reply: bool = True, is_promotion: bool = False, kb.append([{"text": f"🔗 {text}", "url": url}]) if verification_code: code = verification_code.split(" ", 1)[-1] if " " in verification_code else verification_code - kb.append([{"text": code, "type": "copy_text", "text": code}]) + kb.append([{"text": code, "type": "copy_text", "copy_text": code}]) return {"inline_keyboard": kb}