privateone commited on
Commit
4eb8bc9
·
verified ·
1 Parent(s): fae7e19

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

Browse files
FileStream/bot/plugins/FileHandlers/stream.py CHANGED
@@ -66,11 +66,11 @@ async def private_receive_handler(bot: Client, message: Message):
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="Submit Poll",
76
  reply_markup=reply_markup,
 
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="Submit Poll",
76
  reply_markup=reply_markup,