Shahriyaahh/downloader_69RobotPublic · Bot Template

🎬 Universal Downloader Bot is a fast and easy-to-use Telegram bot that lets you download videos from Facebook, Instagram, and YouTube with a single command. Simply send "/dl <video_link>", and the bot will fetch the video for you in seconds.

Utilitydownloadervideofacebookinstagramyoutubeping
ProfileTelegram
9 commands0 envUpdated 26d agoCreated Aug 6, 2026
Back to folder

commands/check_api_health.js

javascript · 47 lines

Raw
1/**#command2name: check_api_health3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (!user.id == 8375123229) {13  return14}15 16let check = await Api.editMessageText({17  text: `<b>✅ Cheking API Health.....</b>`,18  chat_id: chat.id,19  message_id: request.message.message_id,20  parse_mode: "html"21})22 23//downloader api24let downloader_api_res = await HTTP.post({25  url: Bot.get("downloader_api"),26  body: {27    url: "https://youtube.com/shorts/KV7iIkwUx9U"28  }29})30let downloader_api = "🔴"31if (downloader_api_res.ok) downloader_api = "🟢"32 33Api.editMessageText({34  text: `1.<b>Downloader Api:</b> ${downloader_api}`,35  chat_id: chat.id,36  message_id: check.result.message_id,37  reply_markup: {38    inline_keyboard: [39      [{40        text: "🔙 Back",41        callback_data: "admin_panel_home",42        style: "danger"43      }]44    ]45  },46  parse_mode: "html"47})