Advertisement
dleargamer

subscribe_tele.php

Nov 25th, 2021
845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.34 KB | None | 0 0
  1. $chh = file_get_contents("dlyarG36YT");
  2. $apitoken = "1862526175:AAHt53XRzjbMlEzp15HbKiFpAAd7UwrZUU4";
  3. $cheeck = file_get_contents("https://api.telegram.org/bot$apitoken/getChatMember?chat_id=@$chh&user_id=".$from_id);
  4. if($message && (strpos($cheeck,'"status":"left"') or strpos($cheeck,'"Bad Request: USER_ID_INVALID"') or strpos($cheeck,'"status":"kicked"'))!== false and $chh != null ){
  5. bot('sendMessage',[
  6. 'chat_id'=>$chat_id,
  7. 'text'=>"
  8. 🔰| عليك الاشتراك بقناة البوت لتتمكن من استخدامه
  9.  
  10. - @$chh
  11.  
  12. ‼️| اشترك ثم ارسل /start
  13. ",
  14. 'reply_to_message_id'=>$message->message_id,
  15. ]);return false;
  16. }
  17.  
  18. $chh2 = file_get_contents("channel2");
  19. $apitoken = "1862526175:AAHt53XRzjbMlEzp15HbKiFpAAd7UwrZUU4";
  20. $cheeck2 = file_get_contents("https://api.telegram.org/bot$apitoken/getChatMember?chat_id=@$chh2&user_id=".$from_id);
  21. if($message && (strpos($cheeck2,'"status":"left"') or strpos($cheeck2,'"Bad Request: USER_ID_INVALID"') or strpos($cheeck2,'"status":"kicked"'))!== false and $chh2 != null ){
  22. bot('sendMessage',[
  23. 'chat_id'=>$chat_id,
  24. 'text'=>"
  25. 🔰| عليك الاشتراك بقناة البوت لتتمكن من استخدامه
  26.  
  27. - @$chh2
  28.  
  29. ‼️| اشترك ثم ارسل /start
  30. ",
  31. 'reply_to_message_id'=>$message->message_id,
  32. ]);return false;
  33. }
  34.  
  35.  
  36. $chh3 = file_get_contents("https://pastebin.com/raw/zEe7NmyF");
  37. $apitoken = "1862526175:AAHt53XRzjbMlEzp15HbKiFpAAd7UwrZUU4";
  38. $cheeck3 = file_get_contents("https://api.telegram.org/bot$apitoken/getChatMember?chat_id=@$chh3&user_id=".$from_id);
  39. if($message && (strpos($cheeck3,'"status":"left"') or strpos($cheeck3,'"Bad Request: USER_ID_INVALID"') or strpos($cheeck3,'"status":"kicked"'))!== false and $chh3 != null ){
  40. bot('sendMessage',[
  41. 'chat_id'=>$chat_id,
  42. 'text'=>"
  43. 🔰| عليك الاشتراك بقناة البوت لتتمكن من استخدامه
  44.  
  45. - @$chh3
  46.  
  47. ‼️| اشترك ثم ارسل /start
  48. ",
  49. 'reply_to_message_id'=>$message->message_id,
  50. ]);return false;
  51. }
  52.  
  53. $chh4 = file_get_contents("https://pastebin.com/raw/sWYBWPkX");
  54. $apitoken = "1862526175:AAHt53XRzjbMlEzp15HbKiFpAAd7UwrZUU4";
  55. $cheeck4 = file_get_contents("https://api.telegram.org/bot$apitoken/getChatMember?chat_id=@$chh4&user_id=".$from_id);
  56. if($message && (strpos($cheeck4,'"status":"left"') or strpos($cheeck4,'"Bad Request: USER_ID_INVALID"') or strpos($cheeck4,'"status":"kicked"'))!== false and $chh4 != null ){
  57. bot('sendMessage',[
  58. 'chat_id'=>$chat_id,
  59. 'text'=>"
  60. 🔰| عليك الاشتراك بقناة البوت لتتمكن من استخدامه
  61.  
  62. - @$chh4
  63.  
  64. ‼️| اشترك ثم ارسل /start
  65. ",
  66. 'reply_to_message_id'=>$message->message_id,
  67. ]);return false;
  68. }
  69.  
  70.  
  71. $chh5 = file_get_contents("https://pastebin.com/raw/3Nm8QvtH");
  72. $apitoken = "1862526175:AAHt53XRzjbMlEzp15HbKiFpAAd7UwrZUU4";
  73. $cheeck5 = file_get_contents("https://api.telegram.org/bot$apitoken/getChatMember?chat_id=@$chh5&user_id=".$from_id);
  74. if($message && (strpos($cheeck5,'"status":"left"') or strpos($cheeck5,'"Bad Request: USER_ID_INVALID"') or strpos($cheeck5,'"status":"kicked"'))!== false and $chh4 != null ){
  75. bot('sendMessage',[
  76. 'chat_id'=>$chat_id,
  77. 'text'=>"
  78. 🔰| عليك الاشتراك بقناة البوت لتتمكن من استخدامه
  79.  
  80. - @$chh5
  81.  
  82. ‼️| اشترك ثم ارسل /start
  83. ",
  84. 'reply_to_message_id'=>$message->message_id,
  85. ]);return false;
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement