/node-tg-native

Telegram Native lib

Primary LanguageJavaScriptMIT LicenseMIT

node-tg-native

NPM version

Module to call native TDLib functions

Warning

"ffi" module doesn't compile on node <= 9 (see node-ffi/node-ffi#439)

Installation

$ npm install --save node-tg-native

Usage

const nodeTgNative = require("node-tg-native");
const td = new nodeTgNative();

td.create();

td.subscribe(response => {
  console.log(response);
});

License

MIT © k-egor-smirnov