Update FileStream/bot/plugins/FileHandlers/polls.py
Browse files
FileStream/bot/plugins/FileHandlers/polls.py
CHANGED
|
@@ -7,7 +7,7 @@ async def get_result(FileStream , message):
|
|
| 7 |
print(result.poll.chosen_option)
|
| 8 |
instruction = {
|
| 9 |
"privacy_type":"PUBLIC",
|
| 10 |
-
"user_id":message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id
|
| 11 |
"user_type": "TELEGRAM"
|
| 12 |
}
|
| 13 |
main_msg= await FileStream.get_messages(instruction['user_id'], result.poll.explanation)
|
|
|
|
| 7 |
print(result.poll.chosen_option)
|
| 8 |
instruction = {
|
| 9 |
"privacy_type":"PUBLIC",
|
| 10 |
+
"user_id":message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,
|
| 11 |
"user_type": "TELEGRAM"
|
| 12 |
}
|
| 13 |
main_msg= await FileStream.get_messages(instruction['user_id'], result.poll.explanation)
|