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

last update

Browse files
FileStream/utils/FileProcessors/bot_utils.py CHANGED
@@ -135,7 +135,7 @@ async def gen_priv_file_link(_id):
135
  page_link, file_link)
136
  reply_markup = InlineKeyboardMarkup(
137
  [[
138
- InlineKeyboardButton("sᴛʀᴇᴀᴍ", 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ᴛʀᴇᴀᴍ", 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ᴛʀᴇᴀᴍ", WebAppInfo(url=page_link)),
216
  InlineKeyboardButton("ᴅᴏᴡɴʟᴏᴀᴅ", url=stream_link)
217
  ]])
218
  else:
 
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
  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
  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: