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