Generation

generate functionSun, 15 Jan 2023

Echo telegram bot using aiogram

from aiogram.types import Message @dp.message_handler(commands=['help', 'start']) async def send_welcome(message: Message): """ This handler will be called when user sends `/start` or `/help` command """ await message.answer("Hi!\nI'm EchoBot!\nPowered by aiogram.")

Questions about programming?Chat with your personal AI assistant