Move packages

This commit is contained in:
Alex Root Junior 2022-07-10 00:21:34 +03:00
parent 70088cdd65
commit 4f12b6792f
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
109 changed files with 364 additions and 384 deletions

View file

@ -14,10 +14,11 @@ async def command_start_handler(message: Message) -> None:
"""
This handler receive messages with `/start` command
"""
# Most of event objects has an aliases for API methods to be called in event context
# Most event objects has an aliases for API methods to be called in event context
# For example if you want to answer to incoming message you can use `message.answer(...)` alias
# and the target chat will be passed to :ref:`aiogram.methods.send_message.SendMessage` method automatically
# or call API method directly via Bot instance: `bot.send_message(chat_id=message.chat.id, ...)`
# and the target chat will be passed to :ref:`aiogram.methods.send_message.SendMessage`
# method automatically or call API method directly via
# Bot instance: `bot.send_message(chat_id=message.chat.id, ...)`
await message.answer(f"Hello, <b>{message.from_user.full_name}!</b>")
@ -26,7 +27,7 @@ async def echo_handler(message: types.Message) -> None:
"""
Handler will forward received message back to the sender
By default message handler will handle all message types (like text, photo, sticker and etc.)
By default, message handler will handle all message types (like text, photo, sticker and etc.)
"""
try:
# Send copy of the received message