import asyncio
from aiogram import Bot, types, Dispatcher
from aiogram.filters.command import Command
from aiogram.enums import ParseMode
from aiogram.types import FSInputFile
import config
import keyboard
bot = Bot(token = config.TOKEN)
dp = Dispatcher()
@dp.message(Command('start'))
async def startMessage(message: types.Message):
photo = FSInputFile('pictures/cover.jpg')
await message.reply_photo(photo=photo)
async def main():
await dp.start_polling(bot)
if __name__ == '__main__':
asyncio.run(main())