Bhabananda Das commited on
Commit
ae5f363
1 Parent(s): 7297123

last update

Browse files
FileStream/utils/FileProcessors/bot_utils.py CHANGED
@@ -134,8 +134,8 @@ async def gen_priv_file_link(_id):
134
  stream_text = LANG.STREAM_TEXT.format(file_name, file_size, stream_link,
135
  page_link, file_link)
136
  reply_markup = InlineKeyboardMarkup(
137
- [[
138
- InlineKeyboardButton("sᴛʀᴇᴀᴍ",web_app=WebAppInfo(url=page_link)),
139
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
140
  ],
141
  [
@@ -174,7 +174,7 @@ async def gen_link(_id):
174
  page_link, file_link)
175
  reply_markup = InlineKeyboardMarkup(
176
  [[
177
- InlineKeyboardButton("sᴛʀᴇᴀᴍ", web_app=WebAppInfo(url=page_link)),
178
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
179
  ],
180
  [
@@ -212,7 +212,7 @@ async def gen_linkx(m: Message, _id, name: list):
212
  stream_text = LANG.STREAM_TEXT_X.format(file_name, file_size, stream_link,
213
  page_link)
214
  reply_markup = InlineKeyboardMarkup([[
215
- InlineKeyboardButton("sᴛʀᴇᴀᴍ", web_app=WebAppInfo(url=page_link)),
216
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
217
  ]])
218
  else:
 
134
  stream_text = LANG.STREAM_TEXT.format(file_name, file_size, stream_link,
135
  page_link, file_link)
136
  reply_markup = InlineKeyboardMarkup(
137
+ [ [
138
+ InlineKeyboardButton("sᴛʀᴇᴀᴍ",url=page_link),
139
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
140
  ],
141
  [
 
174
  page_link, file_link)
175
  reply_markup = InlineKeyboardMarkup(
176
  [[
177
+ InlineKeyboardButton("sᴛʀᴇᴀᴍ", url=page_link),
178
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
179
  ],
180
  [
 
212
  stream_text = LANG.STREAM_TEXT_X.format(file_name, file_size, stream_link,
213
  page_link)
214
  reply_markup = InlineKeyboardMarkup([[
215
+ InlineKeyboardButton("sᴛʀᴇᴀᴍ", url=page_link),
216
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
217
  ]])
218
  else: