Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.51 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.51 KB

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 :-