style(telegram): simplificar mensaje inicial eliminando la pregunta de idioma redundante

This commit is contained in:
2026-03-07 01:09:33 -06:00
parent dadb5e2b92
commit a3a55e5a95

View File

@@ -139,7 +139,7 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_text(
f"🌍 *Original:*\n{text}\n\n¿A qué idioma quieres traducir?",
f"🌍 *Original:*\n{text}",
parse_mode="Markdown",
reply_markup=reply_markup
)
@@ -154,7 +154,7 @@ async def handle_photo(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_photo(
update.message.photo[-1].file_id,
caption=f"🌍 *Original:*\n{caption}\n\n¿A qué idioma quieres traducir?",
caption=f"🌍 *Original:*\n{caption}",
parse_mode="Markdown",
reply_markup=reply_markup
)
@@ -230,7 +230,7 @@ async def handle_document(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_document(
update.message.document.file_id,
caption=f"🌍 *Original:*\n{caption}\n\n¿A qué idioma quieres traducir?",
caption=f"🌍 *Original:*\n{caption}",
parse_mode="Markdown",
reply_markup=reply_markup
)
@@ -242,7 +242,7 @@ async def handle_video(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_video(
update.message.video.file_id,
caption=f"🌍 *Original:*\n{caption}\n\n¿A qué idioma quieres traducir?",
caption=f"🌍 *Original:*\n{caption}",
parse_mode="Markdown",
reply_markup=reply_markup
)
@@ -254,7 +254,7 @@ async def handle_animation(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_animation(
update.message.animation.file_id,
caption=f"🌍 *Original:*\n{caption}\n\n¿A qué idioma quieres traducir?",
caption=f"🌍 *Original:*\n{caption}",
parse_mode="Markdown",
reply_markup=reply_markup
)
@@ -266,7 +266,7 @@ async def handle_audio(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_audio(
update.message.audio.file_id,
caption=f"🌍 *Original:*\n{caption}\n\n¿A qué idioma quieres traducir?",
caption=f"🌍 *Original:*\n{caption}",
parse_mode="Markdown",
reply_markup=reply_markup
)
@@ -278,7 +278,7 @@ async def handle_voice(update: Update, context: ContextTypes.DEFAULT_TYPE):
reply_markup = get_lang_keyboard()
sent_message = await update.message.reply_voice(
update.message.voice.file_id,
caption=f"🌍 *Original:*\n{caption}\n\n¿A qué idioma quieres traducir?",
caption=f"🌍 *Original:*\n{caption}",
parse_mode="Markdown",
reply_markup=reply_markup
)