المشاركات

How to make Google Drive Direct Link generator Telegram Bot In Bots Business

PR Gujju

  Hello, Welcome to our new article in technostone.xyz, today we are going to learn in this article how you can make Google drive direct download link generator telegram bot, that is very easy way by using bots business app.

As you all must be awake that now when Surrey is possible on Telegram. Which we used to do in the website or other application, last time we told you how you can make YouTube thumbnail downloader telegram bot, similarly today we are going to teach you how to make google drive link generator telegram bot on telegram.

What Is google Drive Direct Link Generator telegram bot

With the help of this telegram bot, you can generate Google Drive direct download. Meaning that you store a file on Google Drive. And if you share it to any user, then you get a link from that which takes us to download and that user downloads the file. This becomes a bit long process. So for its solution, we convert the link from google drive link to direct download link. And we can do this work with the help of this bot.
 

How To Make GDrive Direct Link Generator Telegram Bot

To create such a bot, you need to have a little knowledge of JavaScript. If not then there is no issue you can copy-paste our code
Direct link creator for google drive Telegram Bot You need bots.business app in that we will host our permanent google drive link generator telegram bot
 
 
If you already have your bots.business account or you already know how to host Telegram bot on bots.business then you can directly copy paste the code.
After that you will need the username of a telegram bot, you will get it after reading the post below
 
 
After all this is done, you simply have to copy-paste the command name and code from here.
Add Below Command In Bots Business
 

Command 1:

  • Command Name: /start
  • BJS Code:


var button = [[{title:"🎬 Make Own Bot",url:"https://www.youtube.com/channel/UCMhd_HrdADzW-AU-ni5_-Nw"}],
[{title:"❤️ Share",url:"https://t.me/share/url?text=please joinn@PR_robotsn"},{title:"🛡 Official Channel",url:"https://t.me/PR_robots"}]]
Bot.sendInlineKeyboard(button , "*Hᴇʏ, Nɪᴄᴇ Tᴏᴏ Mᴇᴇᴛ YᴏᴜnI`ᴍ Gᴏᴏɢʟᴇ Dʀɪᴠᴇ Dɪʀᴇᴄᴛ Lɪɴᴋ Gᴇɴᴇʀᴀᴛᴏʀ Bᴏᴛ U Kɴᴏᴡ Hᴏᴡ Tᴏ Uꜱᴇ Mᴇ?nJᴜꜱᴛ Sᴇɴᴅ Gᴏᴏɢʟᴇ Dʀɪᴠᴇ Lɪɴᴋ Aɴᴅ I Mᴀᴋᴇ Yᴏᴜʀ Lɪɴᴋ Aꜱ Dɪʀᴇᴄᴛ Dᴏᴡɴʟᴏᴀᴅ Lɪɴᴋ*")


 

Command 2

  • Command Name: *
  • BJS Code: 
 



var myMainSite = message
function validURL(url) {
var regex = /^(?:(?:https?|ftp)://)?(?:(?!(?:10|127)(?:.d{1,3}){3})(?!(?:169.254|192.168)(?:.d{1,3}){2})(?!172.(?:1[6-9]|2d|3[0-1])(?:.d{1,3}){2})(?:[1-9]d?|1dd|2[01]d|22[0-3])(?:.(?:1?d{1,2}|2[0-4]d|25[0-5])){2}(?:.(?:[1-9]d?|1dd|2[0-4]d|25[0-4]))|(?:(?:[a-zu00a1-uffff0-9]-*)*[a-zu00a1-uffff0-9]+)(?:.(?:[a-zu00a1-uffff0-9]-*)*[a-zu00a1-uffff0-9]+)*(?:.(?:[a-zu00a1-uffff]{2,})))(?::d{2,5})?(?:/S*)?$/
return regex.test(url)
}
if (validURL(message)) {
if (message.includes("https://drive.google.com")) {
var splitUrl = myMainSite.split('/');
var button = [{title:"❤️ Share",url:"https://t.me/share/url?text=Please Joinn@PR_robotsn"},{title:"🛡 Official Channel",url:"https://t.me/PR_robots"}]
Bot.sendInlineKeyboard(button ,
"★彡[Yᴏᴜʀ Dɪʀᴇᴄᴛ Dᴏᴡɴʟᴏᴀᴅ Lɪɴᴋ Bᴇʟᴏᴡ]彡★nn`https://drive.google.com/uc?export=download&id="+splitUrl[5]+"`n[Tap To Copy]")
}
else{
var button = [{title:"❤️ Share",url:"https://t.me/share/url?text=Please Joinn@PR_robotsn"},{title:"🛡 Official Channel",url:"https://t.me/PR_robots"}]
Bot.sendInlineKeyboard(button ,
"★彡[Pʟᴇᴀꜱᴇ Sᴇɴᴅ Gᴏᴏɢʟᴇ Dʀɪᴠᴇ Lɪɴᴋ Oɴʟʏ]彡★ : https://drive.google.com/file/d/1R4zRB94fh27pOmwnU862j3n8wAhdh8kN/view?usp=sharing")}
}
else {
var button = [{title:"❤️ Share",url:"https://t.me/share/url?text=Please Joinn@PR_robotsn"},{title:"🛡 Official Channel",url:"https://t.me/PR_robots"}]
Bot.sendInlineKeyboard(button ,
"★彡[Wʀᴏɴɢ Uʀʟ]彡★ n Exᴀᴍᴘʟᴇ: https://drive.google.com/file/d/1R4zRB94fh27pOmwnU862j3n8wAhdh8kN/view?usp=sharing")
}

How To use Google Drive Direct Link Generator Telegram Bot

Step 1 : Open Telegram And Seaach Your Bot My Like()
Step 2 : Start Bot By presing Start Button
Step 3 : Send Google Drive Link To Make Direct Download Link
Now Done
 
Any Problem Watch Below Video
 
https://www.youtube.com/watch?v=GzSsfyQWogI 

Getting Info...

About the Author

PR Gujju
Blogger | Youtuber | Beginner Coder

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.