Don’t use this for new projects.
telegram-mtproto is much more advanced and has a better API.
Also check treact. My attempt to write Telegram client in React.js
Telegram TypeLanguage (TL) unofficial library in pure javascript on the Node.js platform
TypeLanguage "serves to describe the used system of types, constructors, and existing functions" of the Telegram Mobile Protocol (MTProto)
The telegram-tl-node library implements the core TypeLanguage types (like the base TypeObject
and others defined here) and therefore a layer for the
binary data serialization of the instances.
This library also implements the TypeBuilder
class that parses the TypeLanguage schemas
in JSON format and dynamically writes Type classes and functions in
pure javascript.
@goodmind/telegram.link main project depends by this library.
$ git clone --branch=master git://github.com/goodmind/telegram-tl-node.git
$ cd telegram-tl-node
$ npm install
$ npm test
-
get-log: a Node.js Logging Utility, easy to use and ready for production.
-
jsbn: a portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.
The project is released under the MIT License