Spaces:
Paused
Paused
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # (c) Shrimadhav U K | Modified By > @DC4_WARRIOR | |
| from pyrogram import filters | |
| from pyrogram import Client as Clinton | |
| from plugins.youtube_dl_button import youtube_dl_call_back | |
| from plugins.dl_button import ddl_call_back | |
| async def delt(bot, update): | |
| await update.message.delete(True) | |
| async def button(bot, update): | |
| cb_data = update.data | |
| if "|" in cb_data: | |
| await youtube_dl_call_back(bot, update) | |
| elif "=" in cb_data: | |
| await ddl_call_back(bot, update) | |