text: from io import BytesIO
  
  import qrcode
  from aiogram.types import Message
  
  from app.loader import dp
  
  
  @dp.message_handler(commands='qr')
  async def qr_code(msg: Message) -> Message:
      im: qrcode.image = qrcode.make(msg.get_args())
      byte = BytesIO()
      byte.name = f'qrcode_{msg.chat.id}.png'
      im.save(byte, 'PNG')
  
      byte.seek(0)
      return await msg.answer_photo(byte)
  