mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 01:15:31 +00:00
Oops. Invalid example. This method is already deprecated.
This commit is contained in:
parent
0309ab3117
commit
c19890a7d2
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ async def send_welcome(message: types.Message):
|
|||
async def cats(message: types.Message):
|
||||
with open('data/cats.jpg', 'rb') as photo:
|
||||
await bot.send_photo(message.chat.id, photo, caption='Cats is here 😺',
|
||||
reply_to_message_id=message)
|
||||
reply_to_message_id=message.message_id)
|
||||
|
||||
|
||||
@dp.message_handler()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue