From a5c5742af18f1fa3e08ed8fcd7a6fa72ca941b2e Mon Sep 17 00:00:00 2001 From: Delitel Date: Fri, 22 Sep 2023 21:12:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=BF=D1=80=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80=20?= =?UTF-8?q?=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=BE=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B5=20=D1=81=D0=BE?= =?UTF-8?q?=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=B2=20=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D0=B3=D1=80=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sync/vk/handlers/messages.py | 1 + sync/vk/handlers/stickers.py | 1 + sync/vk/handlers/voices.py | 1 + 3 files changed, 3 insertions(+) diff --git a/sync/vk/handlers/messages.py b/sync/vk/handlers/messages.py index 3cee187..9111afd 100644 --- a/sync/vk/handlers/messages.py +++ b/sync/vk/handlers/messages.py @@ -21,4 +21,5 @@ async def on_message(message: Message): + "‾" * 10 + f"\n{message.text}", parse_mode="html", + disable_web_page_preview=True, ) diff --git a/sync/vk/handlers/stickers.py b/sync/vk/handlers/stickers.py index e3f7204..14f553e 100644 --- a/sync/vk/handlers/stickers.py +++ b/sync/vk/handlers/stickers.py @@ -40,4 +40,5 @@ async def on_stickers(message: Message): await sticker_message.reply( f"{user_info[0].first_name} {user_info[0].last_name}\n", parse_mode="html", + disable_web_page_preview=True, ) diff --git a/sync/vk/handlers/voices.py b/sync/vk/handlers/voices.py index 6db45ff..70d731d 100644 --- a/sync/vk/handlers/voices.py +++ b/sync/vk/handlers/voices.py @@ -25,4 +25,5 @@ async def on_audio_message(message: Message): voice_file, f"{user_info[0].first_name} {user_info[0].last_name}\n", parse_mode="html", + disable_notification=True, )