fix: remove dead .answer attr on Message in start_handler

This commit is contained in:
2026-06-17 12:10:58 +02:00
parent 3ea7d42cae
commit 72c2ddc22f
-1
View File
@@ -246,7 +246,6 @@ async def start_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) -> N
return
name = update.effective_user.first_name or "there"
msg = (update.message or update.callback_query).answer # type: ignore[union-attr]
chat_id = update.effective_chat.id # type: ignore[union-attr]
await context.bot.send_message(
chat_id=chat_id,