BinaryONe commited on
Commit
26b0c4e
·
1 Parent(s): 9c83245

changes In Upload

Browse files
FileStream/bot/plugins/FileHandlers/callback.py CHANGED
@@ -115,7 +115,7 @@ async def cb_data(bot: Client, update: CallbackQuery):
115
  file_caption = getattr(message, "caption", f"{get_name(message)}" ) or "None/Unknown"
116
  file_name = get_name(message)
117
  print("Daetail",file_caption,file_name)
118
- polls=await FileStream.send_poll(chat_id, "Is this a poll question?", ["Yes", "No", "Maybe"])
119
  print(polls)
120
  file_info = get_file_info(message, instruction)
121
  # Here we are Adding the File Into the database First
 
115
  file_caption = getattr(message, "caption", f"{get_name(message)}" ) or "None/Unknown"
116
  file_name = get_name(message)
117
  print("Daetail",file_caption,file_name)
118
+ polls=await FileStream.send_poll(user_id, "Is this a poll question?", ["Yes", "No", "Maybe"])
119
  print(polls)
120
  file_info = get_file_info(message, instruction)
121
  # Here we are Adding the File Into the database First