ulduldp commited on
Commit
1b2beaf
·
verified ·
1 Parent(s): 24fb484

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -141,12 +141,13 @@ async def handle_file(update: Update, context: ContextTypes.DEFAULT_TYPE):
141
  save_data(user_id, data)
142
 
143
  # 3️⃣ send JSON
144
- """await context.bot.send_document(
145
  chat_id=GROUP_ID,
146
  document=InputFile(get_json_file(user_id)),
147
  filename=f"{user_id}.json",
148
- captpon=f"📁 Index of {user_id}"
149
  )"""
 
150
  await context.bot.send_document(
151
  chat_id=GROUP_ID,
152
  document=InputFile(
 
141
  save_data(user_id, data)
142
 
143
  # 3️⃣ send JSON
144
+ """await context.bot.send_document(
145
  chat_id=GROUP_ID,
146
  document=InputFile(get_json_file(user_id)),
147
  filename=f"{user_id}.json",
148
+ caption=f"📁 Index of {user_id}"
149
  )"""
150
+
151
  await context.bot.send_document(
152
  chat_id=GROUP_ID,
153
  document=InputFile(