Skip to main content

"Download YouTube Video By telegram Bot " Telegram BOT Codes

πŸ’‘ "Download YouTube Video By telegram Bot " Telegram BOT Codes 

πŸ€– Command = /download

Answer = πŸ‘¨‍πŸ’» send YouTube Video Url To Download

✅Wait For Answer = On

🏷 BJs

function validURL(url) {

  var regex = /^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?$/

  return regex.test(url)

}


if (validURL(message)) {

Api.sendVideo({video: "https://coinsky.xp3.biz/api/youtube/download.php?url="+message+"", caption: "*⏳ Video Generated By @HBtechGyan*", parse_mode: "markdown"})

return

}else Bot.sendMessage("*Invalid YouTube Video Url or video Doesn't Exists*")

πŸ‘¨‍πŸ’»Coded By :- HB tech Gyan

                          Releted video 

Comments

Popular posts from this blog

Telegram bot Corbond image text codes

Telegram bot Corbond image text codes πŸ“š How To Make Carbon Image From Text ?  ♻️ Command = /Carbon πŸ“› Answer = *πŸ“œ Send your  Text For Making Carbon Image.* ✅ Wait For Answer = On 🌐 BJS = Api.sendPhoto({ photo: "https://carbonnowsh.herokuapp.com/?code="+message+"", caption: "*πŸ“ Congrats! Your Carbon Page Is Ready... Carbon by @HB_bot_codes*", parse_mode: "markdown" }) πŸ‘¨‍πŸ’» Coded By :  HB tech Gyan                            Releted video 

"Generate Quots" Telegram BOT Codes

  πŸ’‘ " Generate Quots " Telegram BOT Codes  πŸ€–  Command  = πŸ“– Generate Quots 🏷  BJs  = Api.sendChatAction({   chat_id: chat.chatid,   action: "typing" }) Api.sendChatAction({   chat_id: chat.chatid,   action: "typing" }) HTTP.get({   url: "https://api.quotable.io/random",   success: "/onLoading "}) πŸ€–  Command  =  /onLoading  🏷  BJs  = Api.sendChatAction({   chat_id: chat.chatid,   action: "typing" }) Api.sendChatAction({   chat_id: chat.chatid,   action: "typing" }) var c = JSON.parse(content) var t = c.author  var y = c.content  Api.sendMessage({text:"*Quote:* " + y +"\n\n*Author:* "+t+"",parse_mode: "Markdown"}) πŸ‘¨‍πŸ’»Coded By :-  HB tech Gyan                           Releted video