Spaces:
Running
Running
BinaryONe
commited on
Commit
·
682fd62
1
Parent(s):
83cf287
Adding Poll In Upload
Browse files
FileStream/bot/plugins/FileHandlers/callback.py
CHANGED
@@ -177,10 +177,9 @@ async def cb_data(bot: Client, update: CallbackQuery):
|
|
177 |
message_id=response_id,
|
178 |
media=InputMediaPoll(
|
179 |
poll=Poll(
|
180 |
-
type= enums.PollType.REGULAR,
|
181 |
question="Is this a poll question?",
|
182 |
-
|
183 |
-
|
184 |
)
|
185 |
),
|
186 |
)
|
|
|
177 |
message_id=response_id,
|
178 |
media=InputMediaPoll(
|
179 |
poll=Poll(
|
|
|
180 |
question="Is this a poll question?",
|
181 |
+
answers=["Movie", "WebSeries", "Anime", "Documentary", "Regular"],
|
182 |
+
multiple_choice=True,
|
183 |
)
|
184 |
),
|
185 |
)
|