Spaces:
Running
Running
BinaryONe
commited on
Commit
·
55d103c
1
Parent(s):
b35fc5b
changes In Upload
Browse files
FileStream/bot/plugins/FileHandlers/callback.py
CHANGED
@@ -178,7 +178,13 @@ async def cb_data(bot: Client, update: CallbackQuery):
|
|
178 |
poll=Poll(
|
179 |
id=FileStream.rnd_id(),
|
180 |
question="Is this a poll question?",
|
181 |
-
answers=[
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
multiple_choice=True,
|
183 |
quiz=False,
|
184 |
)
|
|
|
178 |
poll=Poll(
|
179 |
id=FileStream.rnd_id(),
|
180 |
question="Is this a poll question?",
|
181 |
+
answers=[
|
182 |
+
PollAnswer(text="Movie", option=bytes([0])),
|
183 |
+
PollAnswer(text="WebSeries", option=bytes([1])),
|
184 |
+
PollAnswer(text="Anime", option=bytes([2])),
|
185 |
+
PollAnswer(text="Documentary", option=bytes([3])),
|
186 |
+
PollAnswer(text="Regular", option=bytes([4]))
|
187 |
+
],
|
188 |
multiple_choice=True,
|
189 |
quiz=False,
|
190 |
)
|