BinaryONe commited on
Commit
86d3d9a
·
1 Parent(s): 79a214d

Adding Poll In Upload

Browse files
FileStream/bot/plugins/FileHandlers/callback.py CHANGED
@@ -182,6 +182,7 @@ async def cb_data(bot: Client, update: CallbackQuery):
182
  chat_id=user_id,
183
  message_id=response_id,
184
  media=InputMediaPoll(
 
185
  poll=Poll(
186
  id=FileStream.rnd_id(),
187
  question="Is this a poll question?",
 
182
  chat_id=user_id,
183
  message_id=response_id,
184
  media=InputMediaPoll(
185
+ caption="Is this a poll question?",
186
  poll=Poll(
187
  id=FileStream.rnd_id(),
188
  question="Is this a poll question?",