Skip to content

Commit

Permalink
Fix typo (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertEinsteinTG authored Jul 15, 2024
1 parent bd45d2b commit 6535abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/03_buttons/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)


Expand Down

0 comments on commit 6535abc

Please sign in to comment.