When you dont know what to code, code something useful.
A microservice for Telegram OAuth on Node.js.
npm i tgoauth
const tgoauth = require("tgoauth");
const secretKey = tgoauth.createSecretKey(BOT_TOKEN);
if (tgoauth.check(secretKey, data)) {
// success
} else {
// failed
}