Module to call native TDLib functions
"ffi" module changed to "ffi-napi" for compatibility with node.js >= 9.0.0
$ npm install --save node-tg-native
const nodeTgNative = require("node-tg-native");
const td = new nodeTgNative();
td.create();
td.subscribe(response => {
console.log(response);
});
MIT © k-egor-smirnov