bot commited on
Commit
62c3a9b
·
1 Parent(s): 5262641
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -331,6 +331,8 @@ 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
  if action == "list_file":
335
  context.user_data["file_id"] = file_id
336
  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
  if action == "list_file":
337
  context.user_data["file_id"] = file_id
338
  await tg_show_files(update, context)