from fastapi import APIRouter, Request | |
from .Utils.Handler import Handler | |
from App import bot | |
streaming_router = APIRouter(tags=["streaming"]) | |
async def create_file(id: int, req: Request): | |
hander = Handler(req=req, client=bot, id=id) | |
hander.route = "inline" | |
return await hander.process_request() | |