Open Bimblis opened 5 years ago
I can send GET and POST request to the telegram bot, and they are responded and have a 200.
Is it possible for telebot to read this requests and just do a console.log with the contents? Something like:
const TeleBot = require('telebot'); const bot = new TeleBot('xxxxxxxxxXXXXXXXXXXxxxxxxxxxxXXXXXXXXXX'); bot.on(['GET'], (bodyJson) => console.log(bodyJson)); bot.start();
Btw, this project is abandoned, right?
I can send GET and POST request to the telegram bot, and they are responded and have a 200.
Is it possible for telebot to read this requests and just do a console.log with the contents? Something like: