JS Organization
35.2K subscribers
306 photos
45 videos
4 files
168 links
This is The Official Channel Of JS Organization πŸ’¬
Our Another Channels And Groups -
@JSEarnMoney
@JS_SupportGroup
@Cheapment
Contact @Swrov Admin For Any issue Or Promotional Service
Download Telegram
πŸ€– Bots.Business Multiple Channels Force Joined Check BJS Code πŸ‘¨β€πŸ’»

❗️At First Make A /start Command Code.

example-
πŸ‘©β€πŸ’» Command : /start
var button = [{title: "βœ… Joined", command:"/joined"}];
Bot.sendInlineKeyboard(button, "*🌟 Join Our All Channels To Use Our Bot πŸ‘‡\n@PublicDiaryOfficial \n@TapSwapMiningOfficial\n@JSEarnMony\nAfter Joined Click On βœ… Joined*");

❗️Then /joined Command Code

πŸ‘©β€πŸ’» Command : /joined
var channels = ["@PublicDiaryOfficial","@JSEarnMoney","@TapSwapMiningOfficial"];  // Array of Your Multiple channels 
HTTP.get({
  url: "https://api.jsorganization.xyz/Bot/ChannelJoinCheck.php?bot_token=" + bot.token + "&user_id=" + user.telegramid + "&chat_id=" + channels,
  success: "/check"
});

❗️ Then  /check Command Code

πŸ‘©β€πŸ’»Command - /check
if (content) {
  const { status, is_joined } = JSON.parse(content);

  if (status === "false") {
    return Bot.sendMessage("*Please make the bot an admin on your All channels*");
  }

  if (is_joined) {
    Bot.sendMessage("Thank You For Join Our Channels!");
    /*Bot.runCommand("MainMenu")*/
  } else {
    Bot.sendMessage("*⚠️ You need to join all channels To Use Our Bot.*");
  }
}

❗️Donot Change Any Command Name
❗️Make The bot Admin in Your Multiple Channels
❗️You Can run Your Main menu Command Using Bot.runCommand(" MainMenu")

Β© @JSOrganization
Β© @itsSowrov
Contact With Us If You Face Any Problem Or errors
#Multiple #MultipleChannel #MultipleJoin #MultipleChannelsCheck #MultipleCheck #BotsBusiness #JSOrganization #BJS
πŸ‘11❀7πŸ₯°7😘6😍3😭3πŸ”₯1