Skip to content

Files

Latest commit

5460741 · Feb 9, 2018

History

History
33 lines (20 loc) · 522 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 522 Bytes

node-tg-native

NPM version

Module to call native TDLib functions

FFI

"ffi" module changed to "ffi-napi" for compatibility with node.js >= 9.0.0

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