add tgraph

This commit is contained in:
yasir 2023-02-09 14:11:37 +07:00
parent 85b2fd0d85
commit 00d4d8ad58

View file

@ -86,8 +86,8 @@ async def telegraph_paste(_, message):
]
pasted = f"**Successfully upload your media to Telegraph<a href='{url}'>.</a>\n\nUpload by {uname}**"
await msg.edit(pasted, reply_markup=InlineKeyboardMarkup(button))
remove(file)
return await msg.edit(pasted, reply_markup=InlineKeyboardMarkup(button))
data = ""
limit = 1024 * 1024
if reply and reply.document: