text: import os
  
  from telethon.errors.rpcerrorlist import YouBlockedUserError
  
  from userbot import CMD_HELP, TEMP_DOWNLOAD_DIRECTORY, bot
  from userbot.events import register
  
  
  @register(outgoing=True, pattern=r"^.df(:? |$)(\d)?")
  async def _(fry):
      await fry.edit("`Sending information...`")
      level = fry.pattern_match.group(2)
      if fry.fwd_from:
          return
      if not fry.reply_to_msg_id:
          await fry.edit("`Reply to any user message photo...`")
          return
      reply_message = await fry.get_reply_message()
      if not reply_message.media:
          await fry.edit("`No image found to fry...`")
          return
      if reply_message.sender.bot:
          await fry.edit("`Reply to actual user...`")
          return
      chat = "@image_deepfrybot"
      message_id_to_reply = fry.message.reply_to_msg_id
      async with fry.client.conversation(chat) as conv:
          try:
              msg = await conv.send_message(reply_message)
              if level:
                  m = f"/deepfry {level}"
                  msg_level = await conv.send_message(m, reply_to=msg.id)
                  r = await conv.get_response()
              response = await conv.get_response()
              """ - don't spam notif - """
              await bot.send_read_acknowledge(conv.chat_id)
          except YouBlockedUserError:
              await fry.reply("`Please unblock` @image_deepfrybot`...`")
              return
          if response.text.startswith("Forward"):
              await fry.edit("`Please disable your forward privacy setting...`")
          else:
              downloaded_file_name = await fry.client.download_media(
                  response.media, TEMP_DOWNLOAD_DIRECTORY)
              await fry.client.send_file(
                  fry.chat_id,
                  downloaded_file_name,
                  force_document=False,
                  reply_to=message_id_to_reply,
              )
              """ - cleanup chat after completed - """
              try:
                  msg_level
              except NameError:
                  await fry.client.delete_messages(conv.chat_id,
                                                   [msg.id, response.id])
              else:
                  await fry.client.delete_messages(
                      conv.chat_id, [msg.id, response.id, r.id, msg_level.id])
      await fry.delete()
      return os.remove(downloaded_file_name)
  
  
  CMD_HELP.update({
      "deepfry":
      ">`.df` or >`.df [level(1-8)]`"
      "\nUsage: deepfry image/sticker from the reply."
      "\n@image_deepfrybot"
  })
  