Spaces:
Running
Running
BinaryONe
commited on
Commit
·
985a167
1
Parent(s):
638ba00
changes In Upload
Browse files
FileStream/bot/plugins/FileHandlers/callback.py
CHANGED
@@ -139,7 +139,6 @@ async def cb_data(bot: Client, update: CallbackQuery):
|
|
139 |
file_name = get_name(message)
|
140 |
print("Daetail",file_caption,"\nFile:",file_name)
|
141 |
await FileStream.send_poll(
|
142 |
-
type=enums.PollType.QUIZ,
|
143 |
is_anonymous=False,
|
144 |
reply_to_message_id=message_id,
|
145 |
question="Is this a poll question?",
|
@@ -148,6 +147,7 @@ async def cb_data(bot: Client, update: CallbackQuery):
|
|
148 |
chat_id=user_id
|
149 |
)
|
150 |
"""
|
|
|
151 |
print(polls)
|
152 |
file_info = get_file_info(message, instruction)
|
153 |
# Here we are Adding the File Into the database First
|
|
|
139 |
file_name = get_name(message)
|
140 |
print("Daetail",file_caption,"\nFile:",file_name)
|
141 |
await FileStream.send_poll(
|
|
|
142 |
is_anonymous=False,
|
143 |
reply_to_message_id=message_id,
|
144 |
question="Is this a poll question?",
|
|
|
147 |
chat_id=user_id
|
148 |
)
|
149 |
"""
|
150 |
+
#type=enums.PollType.QUIZ,
|
151 |
print(polls)
|
152 |
file_info = get_file_info(message, instruction)
|
153 |
# Here we are Adding the File Into the database First
|