Spaces:
Running
Running
Update FileStream/bot/plugins/FileHandlers/stream.py
Browse files
FileStream/bot/plugins/FileHandlers/stream.py
CHANGED
@@ -62,13 +62,14 @@ async def private_receive_handler(bot: Client, message: Message):
|
|
62 |
"user_id":message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,
|
63 |
"user_type": "TELEGRAM"
|
64 |
}
|
|
|
65 |
reply = await message.reply_text(LANG.PROCESSING_TEXT)
|
66 |
|
67 |
#reply_markup, stream_text = await upload_type_func(file_info=get_file_info(message, instruction),replied_message=reply.id)
|
68 |
reply_markup = InlineKeyboardMarkup([
|
69 |
InlineKeyboardButton(
|
70 |
"Polls",
|
71 |
-
callback_data=f"initilize_{file_info['user_id']}_{file_info['message_id']}_{
|
72 |
InlineKeyboardButton("ᴄʟᴏsᴇ", callback_data="close")
|
73 |
])
|
74 |
await reply.edit_text(text=stream_text,
|
|
|
62 |
"user_id":message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,
|
63 |
"user_type": "TELEGRAM"
|
64 |
}
|
65 |
+
file_info=get_file_info(message, instruction)
|
66 |
reply = await message.reply_text(LANG.PROCESSING_TEXT)
|
67 |
|
68 |
#reply_markup, stream_text = await upload_type_func(file_info=get_file_info(message, instruction),replied_message=reply.id)
|
69 |
reply_markup = InlineKeyboardMarkup([
|
70 |
InlineKeyboardButton(
|
71 |
"Polls",
|
72 |
+
callback_data=f"initilize_{file_info['user_id']}_{file_info['message_id']}_{reply.id}"),
|
73 |
InlineKeyboardButton("ᴄʟᴏsᴇ", callback_data="close")
|
74 |
])
|
75 |
await reply.edit_text(text=stream_text,
|