from pyrogram import Client, Filters
from config import sudos

@Client.on_message(Filters.command("doc", prefixes="!"))
def doc(client, message):
    if message.from_user.id in sudos:
        doc = message.text.split(' ',1)[1]
        message.reply_document(doc)
1c21104deabf18d21b0bc0d8dfdb4b670084d5a9
<mask token>

<mask token>


@Client.on_message(Filters.command('doc', prefixes='!'))
def doc(client, message):
    if message.from_user.id in sudos:
        doc = message.text.split(' ', 1)[1]
        message.reply_document(doc)

from pyrogram import Client, Filters
from config import sudos


@Client.on_message(Filters.command('doc', prefixes='!'))
def doc(client, message):
    if message.from_user.id in sudos:
        doc = message.text.split(' ', 1)[1]
        message.reply_document(doc)

from pyrogram import Client, Filters
from config import sudos

@Client.on_message(Filters.command("doc", prefixes="!"))
def doc(client, message):
    if message.from_user.id in sudos:
        doc = message.text.split(' ',1)[1]
        message.reply_document(doc)