privateone commited on
Commit
44b88d3
·
verified ·
1 Parent(s): bc991f5

Update FileStream/bot/plugins/FileHandlers/stream.py

Browse files
FileStream/bot/plugins/FileHandlers/stream.py CHANGED
@@ -64,7 +64,13 @@ async def private_receive_handler(bot: Client, message: Message):
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
  await reply.edit_text(text=stream_text,
69
  reply_markup=reply_markup,
70
  )
 
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']}_{replied_message}"),
72
+ InlineKeyboardButton("ᴄʟᴏsᴇ", callback_data="close")
73
+ ])
74
  await reply.edit_text(text=stream_text,
75
  reply_markup=reply_markup,
76
  )