BinaryONe commited on
Commit
fcdb8e5
·
1 Parent(s): a43ac81

Adding Poll In Upload

Browse files
FileStream/bot/plugins/FileHandlers/callback.py CHANGED
@@ -179,11 +179,11 @@ async def cb_data(bot: Client, update: CallbackQuery):
179
  id=FileStream.rnd_id(),
180
  question="Is this a poll question?",
181
  answers=[
182
- PollAnswer("Movie"),
183
- PollAnswer("WebSeries"),
184
- PollAnswer("Anime"),
185
- PollAnswer("Documentary"),
186
- PollAnswer("Regular")
187
  ],
188
  multiple_choice=True,
189
  quiz=False,
 
179
  id=FileStream.rnd_id(),
180
  question="Is this a poll question?",
181
  answers=[
182
+ PollAnswer(text="Movie"),
183
+ PollAnswer(text="WebSeries"),
184
+ PollAnswer(text="Anime"),
185
+ PollAnswer(text="Documentary"),
186
+ PollAnswer(text="Regular")
187
  ],
188
  multiple_choice=True,
189
  quiz=False,