0.0.1-alpha-4 • Published 4 years ago
protov v0.0.1-alpha-4
ProtoV
Telegram Application with JavaScript.
Install
NPM:
npm install protov
Yarn:
yarn add protov
Basic Example
const ProtoV = require("protov");
const schema = require("protov-tl-schema");
const app = new ProtoV({
layer: 113,
schema: schema,
main_dc_id: 2,
api_id: 123456,
api_hash: "",
app_version: "0.1.0"
});
app.start().then(() => {
console.log("started");
app.invoke("help.getNearestDc")
.then(NearestDc => console.log(NearestDc))
.catch(e => console.error(e));
});
0.0.1-alpha-4
4 years ago
0.0.1-alpha-3
4 years ago
0.0.1-alpha-2
4 years ago
0.0.1-alpha-1
4 years ago
0.0.1
4 years ago