fix(telegram): satisfy type debt ratchet

This commit is contained in:
jxxghp
2026-10-17 09:55:50 +08:00
parent 4af9229c93
commit 346a8b8288
2 changed files with 2 additions and 3 deletions

View File

@@ -947,7 +947,7 @@ class Telegram:
*,
chat_id: Union[str, int],
text: Optional[str],
buttons: Optional[List[List[dict]]],
buttons: Optional[List[List[Dict[str, Any]]]],
force_reply: bool,
original_message_id: Optional[int],
original_chat_id: Optional[str],

View File

@@ -1289,8 +1289,7 @@
"union-attr": 1
},
"app/modules/telegram/telegram.py": {
"arg-type": 1,
"assignment": 2,
"assignment": 1,
"no-any-return": 8,
"no-untyped-def": 13,
"return-value": 1,