From 6329dfd3ef75fb417d43a534797a10d306a537e5 Mon Sep 17 00:00:00 2001 From: hteppl Date: Sun, 29 Dec 2024 02:05:47 +0300 Subject: [PATCH] Fix CONNECT_TV_TEXT: add disable_web_page_preview=True --- handlers/instructions/instructions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/instructions/instructions.py b/handlers/instructions/instructions.py index e79e9fdc..2ba4fcf3 100644 --- a/handlers/instructions/instructions.py +++ b/handlers/instructions/instructions.py @@ -107,7 +107,8 @@ async def process_connect_tv(callback_query: types.CallbackQuery): await callback_query.message.answer( text=CONNECT_TV_TEXT, reply_markup=builder.as_markup(), - parse_mode="HTML" + parse_mode="HTML", + disable_web_page_preview=True )