From 6535abcb3d0b5bc2cdfb95c4533f296418a81d25 Mon Sep 17 00:00:00 2001 From: Ben S George <73480087+AlbertEinsteinTG@users.noreply.github.com> Date: Tue, 16 Jul 2024 04:23:33 +0530 Subject: [PATCH] Fix typo (#90) --- code/03_buttons/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/03_buttons/bot.py b/code/03_buttons/bot.py index 2f091f3..ce105d8 100644 --- a/code/03_buttons/bot.py +++ b/code/03_buttons/bot.py @@ -107,10 +107,10 @@ async def on_user_shared(message: types.Message): @dp.message(F.chat_shared) -async def on_user_shared(message: types.Message): +async def on_chat_shared(message: types.Message): print( f"Request {message.chat_shared.request_id}. " - f"User ID: {message.chat_shared.chat_id}" + f"Chat ID: {message.chat_shared.chat_id}" )