mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Replace .reply(reply=False) to .answer() in examples
This commit is contained in:
parent
4933261d65
commit
18d1115b50
2 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ async def echo(message: types.Message):
|
|||
# old style:
|
||||
# await bot.send_message(message.chat.id, message.text)
|
||||
|
||||
await message.reply(message.text, reply=False)
|
||||
await message.answer(message.text)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue