bot
commited on
Commit
·
875052e
1
Parent(s):
53d3325
fix
Browse files
main.py
CHANGED
@@ -331,7 +331,9 @@ async def handle_file_operation(update: Update, context: CallbackContext):
|
|
331 |
async def perform_file_action(
|
332 |
update: Update, context: CallbackContext, action: str, file_id: str
|
333 |
):
|
334 |
-
|
|
|
|
|
335 |
if action == "list_file":
|
336 |
context.user_data["file_id"] = file_id
|
337 |
await tg_show_files(update, context)
|
|
|
331 |
async def perform_file_action(
|
332 |
update: Update, context: CallbackContext, action: str, file_id: str
|
333 |
):
|
334 |
+
query = update.callback_query
|
335 |
+
await query.answer()
|
336 |
+
|
337 |
if action == "list_file":
|
338 |
context.user_data["file_id"] = file_id
|
339 |
await tg_show_files(update, context)
|