Skip to content

Unique #1 File Store and Retrieve Bot Made Using Javascript (Serverless Bot) Deploy on vercel.app

License

Notifications You must be signed in to change notification settings

theriturajps/JS-FileStore-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS-FileStore-Bot

GitHub repo size GitHub language count GitHub top language GitHub last commit

Deployment

Deploy with Vercel

Domain name will be generated after successful deployment, so there is no way to input BOT_DOMAIN during deploying

Click Promote to Production to trigger deployment

Important Environment's and Variables

// Define your variables here (Important)
const BOT_TOKEN = '***********:*****************************';
const DB_CHANNEL = '-100***********';
const BOT_DOMAIN = 'https://***********.vercel.app';
const PUBLIC_CHANNEL = '-100**********';
const PUBLIC_CHANNEL_MODE = 'off';
const COPY_MESSAGE = 'deactivate';

Run in terminal

  1. To set webhook

    curl -F "url=[BOT_DOMAIN]/api/riturajps" "https://api.telegram.org/bot[BOT_TOKEN]/setWebhook"
    
  2. To Retrieve Single file

    https://t.me/TheGetBot?start=id_1
    
  3. To Retrieve Batch file

    https://t.me/TheGetBot?start=id_1_3
    

Thank You

Do Fork our repo/project :-

About

Unique #1 File Store and Retrieve Bot Made Using Javascript (Serverless Bot) Deploy on vercel.app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published