From 4ff13767223249f7a4e6c45a9df2408979f9a78f Mon Sep 17 00:00:00 2001 From: MikiEremiki Date: Mon, 9 Dec 2024 09:35:02 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20message=5Fthread=5Fid=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20send=5Faction=20=D0=B2=20=D0=B2=D0=B8=D0=B4=D1=83=20=D0=BE?= =?UTF-8?q?=D1=82=D1=81=D1=83=D1=82=D1=81=D1=82=D0=B2=D0=B8=D1=8F=20=D0=B0?= =?UTF-8?q?=D1=82=D1=80=D0=B8=D0=B1=D1=83=D1=82=D0=B0=20=D1=83=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/handlers/main_hl.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/handlers/main_hl.py b/src/handlers/main_hl.py index 9bd6b08..43edadc 100644 --- a/src/handlers/main_hl.py +++ b/src/handlers/main_hl.py @@ -188,7 +188,7 @@ async def update_ticket(update: Update, context: ContextTypes.DEFAULT_TYPE): try: await update.effective_chat.send_action( ChatAction.TYPING, - message_thread_id=update.message.message_thread_id) + message_thread_id=update.effective_message.message_thread_id) except TimedOut as e: main_handlers_logger.error(e) @@ -424,7 +424,7 @@ async def confirm_reserve(update: Update, context: ContextTypes.DEFAULT_TYPE): try: await update.effective_chat.send_action( ChatAction.TYPING, - message_thread_id=update.message.message_thread_id) + message_thread_id=message_thread_id) except TimedOut as e: main_handlers_logger.error(e) @@ -533,7 +533,7 @@ async def reject_reserve(update: Update, context: ContextTypes.DEFAULT_TYPE): try: await update.effective_chat.send_action( ChatAction.TYPING, - message_thread_id=update.message.message_thread_id) + message_thread_id=message_thread_id) except TimedOut as e: main_handlers_logger.error(e) @@ -615,7 +615,7 @@ async def confirm_birthday(update: Update, context: ContextTypes.DEFAULT_TYPE): try: await update.effective_chat.send_action( ChatAction.TYPING, - message_thread_id=update.message.message_thread_id) + message_thread_id=message_thread_id) except TimedOut as e: main_handlers_logger.error(e) @@ -722,7 +722,7 @@ async def reject_birthday(update: Update, context: ContextTypes.DEFAULT_TYPE): try: await update.effective_chat.send_action( ChatAction.TYPING, - message_thread_id=update.message.message_thread_id) + message_thread_id=message_thread_id) except TimedOut as e: main_handlers_logger.error(e)