Skip to content

Commit

Permalink
Removed preview for links in contacts
Browse files Browse the repository at this point in the history
  • Loading branch information
artchsh committed Mar 1, 2025
1 parent 5c0f83b commit 3124d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ async def handle_contacts(update: Update, context: ContextTypes.DEFAULT_TYPE):
response += f"📞 Телефон: <a href='tel:{contact.get('phone', '')}'>{contact.get('phone', '')}</a>\r\n"
response += f"📧 Email: <a href='mailto:{contact.get('email', '')}'>{contact.get('email', '')}</a>\n\n"

await update.message.reply_text(response, reply_markup=back_button, parse_mode=ParseMode.HTML)
await update.message.reply_text(response, reply_markup=back_button, parse_mode=ParseMode.HTML, disable_web_page_preview=True)
return CONTACTS_MENU

async def handle_practices(update: Update, context: ContextTypes.DEFAULT_TYPE):
Expand Down

0 comments on commit 3124d08

Please sign in to comment.