from app import app from pyrogram import filters @app.on_message(~ filters.scheduled & filters.photo & filters.private) async def sponsor_proof(app, msg): pass