{"_id":"@2012mjm/telegram.link","_rev":"4-0f043f627e26e2d5e9d6513151a5a058","name":"@2012mjm/telegram.link","description":"Telegram API library","dist-tags":{"latest":"0.6.8"},"versions":{"0.6.6":{"name":"@2012mjm/telegram.link","version":"0.6.6","description":"Telegram API library","publishConfig":{"access":"public"},"keywords":["telegram","api","library"],"author":{"name":"Enrico Stara","email":"enrico.stara@gmail.com"},"homepage":"http://telegram.link","repository":{"type":"git","url":"git://github.com/goodmind/telegram.link.git"},"bugs":{"url":"https://github.com/goodmind/telegram.link/issues"},"dependencies":{"@2012mjm/telegram-mt-node":"^0.9.16","@2012mjm/telegram-tl-node":"^0.12.7","colors":"1.1.2","es6-promise":"2.3.0","get-flow":"^0.3.0","get-log":"^1.1.5","requirish":"^0.3.0"},"license":"MIT","devDependencies":{"gulp":"3.9.0","gulp-jshint":"1.11.2","gulp-mocha":"2.1.3","gulp-docco":"0.0.4","del":"1.2.0","should":"7.0.2","mocha":"2.2.5","mocha-better-spec-reporter":"1.1.2","mocha-lcov-reporter":"0.0.2","coveralls":"2.11.3","codeclimate-test-reporter":"0.1.0","istanbul":"0.3.17","zuul":"1.15.2"},"main":"./lib/telegram.link","engines":{"node":">0.10.30"},"scripts":{"test":"./node_modules/gulp/bin/gulp.js test","coveralls":"DEBUG=-mocha*,* istanbul cover ./node_modules/gulp/bin/gulp.js cover && cat ./coverage/lcov.info | coveralls && codeclimate < ./coverage/lcov.info && rm -rf ./coverage","zuul":"zuul -- ./test/**","doc":"./node_modules/gulp/bin/gulp.js doc"},"gitHead":"1c1cc8a39bb143430152364796a505a657deed7b","_id":"@2012mjm/telegram.link@0.6.6","_shasum":"7e63b5607b4aba72376640cd626eb3addcd1d844","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"2012mjm","email":"2007mjm@gmail.com"},"dist":{"shasum":"7e63b5607b4aba72376640cd626eb3addcd1d844","tarball":"https://registry.npmjs.org/@2012mjm/telegram.link/-/telegram.link-0.6.6.tgz","integrity":"sha512-vdAjb9s5D9ulEn+u1icI05/Ikv1iM4So/ILJfTtt2QVJPyAw64uH0koPvw1JV1nXY+IOfDTAXJchYCfGZlJu+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMQdSmr7bYXBQZA7owPHTR2uQWaEFTlKpbSTyTbAFnwwIhAPwVquXsZA7naf41cbYwLYV4cQh0x3l9SwP22QqF1xwk"}]},"maintainers":[{"name":"2012mjm","email":"2007mjm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/telegram.link-0.6.6.tgz_1495277998577_0.779120584949851"}},"0.6.7":{"name":"@2012mjm/telegram.link","version":"0.6.7","description":"Telegram API library","publishConfig":{"access":"public"},"keywords":["telegram","api","library"],"author":{"name":"Enrico Stara","email":"enrico.stara@gmail.com"},"homepage":"http://telegram.link","repository":{"type":"git","url":"git://github.com/goodmind/telegram.link.git"},"bugs":{"url":"https://github.com/goodmind/telegram.link/issues"},"dependencies":{"@2012mjm/telegram-mt-node":"^0.9.16","@2012mjm/telegram-tl-node":"^0.12.6","colors":"1.1.2","es6-promise":"2.3.0","get-flow":"^0.3.0","get-log":"^1.1.5","requirish":"^0.3.0"},"license":"MIT","devDependencies":{"gulp":"3.9.0","gulp-jshint":"1.11.2","gulp-mocha":"2.1.3","gulp-docco":"0.0.4","del":"1.2.0","should":"7.0.2","mocha":"2.2.5","mocha-better-spec-reporter":"1.1.2","mocha-lcov-reporter":"0.0.2","coveralls":"2.11.3","codeclimate-test-reporter":"0.1.0","istanbul":"0.3.17","zuul":"1.15.2"},"main":"./lib/telegram.link","engines":{"node":">0.10.30"},"scripts":{"test":"./node_modules/gulp/bin/gulp.js test","coveralls":"DEBUG=-mocha*,* istanbul cover ./node_modules/gulp/bin/gulp.js cover && cat ./coverage/lcov.info | coveralls && codeclimate < ./coverage/lcov.info && rm -rf ./coverage","zuul":"zuul -- ./test/**","doc":"./node_modules/gulp/bin/gulp.js doc"},"gitHead":"1c1cc8a39bb143430152364796a505a657deed7b","_id":"@2012mjm/telegram.link@0.6.7","_shasum":"ed7782fdd4c7bfc77e6bd6faa82501b79f18390b","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"2012mjm","email":"2007mjm@gmail.com"},"dist":{"shasum":"ed7782fdd4c7bfc77e6bd6faa82501b79f18390b","tarball":"https://registry.npmjs.org/@2012mjm/telegram.link/-/telegram.link-0.6.7.tgz","integrity":"sha512-aB+LM5csBEeiI9Iw2GLxvk5dvNF4xZGPGE6J0rZO1WzXAWNixPsU/H/jXtJv+lHXEdv5jZsRoFVQDvtH2njoPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHLop0SuQyUioykIjrfebcBF4+oqcbW7Dlb20fE9VHrAIhALhxm0Mjbx5PxuvzYn3+KrMkToOtFRIeDkxMQGswUNK2"}]},"maintainers":[{"name":"2012mjm","email":"2007mjm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/telegram.link-0.6.7.tgz_1495278364164_0.6523092407733202"}},"0.6.8":{"name":"@2012mjm/telegram.link","version":"0.6.8","description":"Telegram API library","publishConfig":{"access":"public"},"keywords":["telegram","api","library"],"author":{"name":"Enrico Stara","email":"enrico.stara@gmail.com"},"homepage":"http://telegram.link","repository":{"type":"git","url":"git://github.com/goodmind/telegram.link.git"},"bugs":{"url":"https://github.com/goodmind/telegram.link/issues"},"dependencies":{"@2012mjm/telegram-mt-node":"^0.9.16","@2012mjm/telegram-tl-node":"^0.12.6","colors":"1.1.2","es6-promise":"2.3.0","get-flow":"^0.3.0","get-log":"^1.1.5","requirish":"^0.3.0"},"license":"MIT","devDependencies":{"gulp":"3.9.0","gulp-jshint":"1.11.2","gulp-mocha":"2.1.3","gulp-docco":"0.0.4","del":"1.2.0","should":"7.0.2","mocha":"2.2.5","mocha-better-spec-reporter":"1.1.2","mocha-lcov-reporter":"0.0.2","coveralls":"2.11.3","codeclimate-test-reporter":"0.1.0","istanbul":"0.3.17","zuul":"1.15.2"},"main":"./lib/telegram.link","engines":{"node":">0.10.30"},"scripts":{"test":"./node_modules/gulp/bin/gulp.js test","coveralls":"DEBUG=-mocha*,* istanbul cover ./node_modules/gulp/bin/gulp.js cover && cat ./coverage/lcov.info | coveralls && codeclimate < ./coverage/lcov.info && rm -rf ./coverage","zuul":"zuul -- ./test/**","doc":"./node_modules/gulp/bin/gulp.js doc"},"gitHead":"aca4de50bdf7be8c31b07197cf76956972a13890","_id":"@2012mjm/telegram.link@0.6.8","_shasum":"46c16072a972ee116c294911ac4047c75b1c2c88","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"2012mjm","email":"2007mjm@gmail.com"},"dist":{"shasum":"46c16072a972ee116c294911ac4047c75b1c2c88","tarball":"https://registry.npmjs.org/@2012mjm/telegram.link/-/telegram.link-0.6.8.tgz","integrity":"sha512-Zv54ns1L7bL4frLw06C1815WiuZLh3ItqYv9170xTc0Nj2a3JlesVD2O1fdaNFBjeXMB72wseVh8NG0unlK5nA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpZvzH80lS93hB8d4YR0md21wPqf9tF4iYphQrp9OJIAiBN3kOtRw2URrfjDUQ07R1+lJOjm0DldCrkIUHnaYbmsQ=="}]},"maintainers":[{"name":"2012mjm","email":"2007mjm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/telegram.link-0.6.8.tgz_1496845902640_0.34157221228815615"}}},"readme":"# Deprecation Notice\n**Don’t use this for new projects.**  \n**[telegram-mtproto](https://github.com/zerobias/telegram-mtproto) is much more advanced and has a better API.**\n\n**Also check [treact](https://github.com/goodmind/treact). My attempt to write Telegram client in React.js**\n\n<s><img src=\"./telegram.link.png\" width=\"40\"/> @goodmind/telegram.link</s>\n==========================================================================\n[![npm version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url] [![Climate Status][climate-image]][climate-url] [![Dependency Status][gemnasium-image]][gemnasium-url]\n[![Sauce Test Status][sauce-image]][sauce-url]\n\n\n**ALPHA SOFTWARE**\n\nContact me in Telegram [@goodmind](https://telegram.me/goodmind)\n\n###_telegram.link_ is a Telegram API library for\n\n- **Hybrid Mobile Apps** (phone and tablet)\n\n- **Desktop Web Apps** (standard HTML5 browsers)\n\n- **Server-side Apps**  (i.e. a Command-Line Interface) \n\n- **Desktop Apps**  (i.e. as third party module using the [NW.js](https://github.com/nwjs/nw.js) runtime) \n\n**telegram.link** is an unofficial **porting in javascript** of the [Telegram Application Programming Interface](https://core.telegram.org/api).\n \n**telegram.link** library enables to **write once**  a **client-application** (whole or only the communication part) that\nruns both on **mobile and desktop browsers** and also on a **Node.js server**  and connect to the **Telegram data-centers**\nvia standard [protocol](https://core.telegram.org/mtproto) and API.\n\n\n## Telegram.link in action! \n\nTo start with the **telegram.link** library, you can install and study the [Termgram](http://termgram.me) application.\n**Termgram** is a terminal client to connect with Telegram and uses all the features currently available in **telegram.link**.\nThe source code is quite straightforward and you'll be able to take inspiration to build your own application!\nAs soon as a new feature will be available in **telegram.link** it will be exploited by **Termgram**. \n\n\n## Project Status\n\n\n- [Creating an Authorization Key](https://core.telegram.org/mtproto/auth_key): completed\n\n- [User Autorization](https://core.telegram.org/api/auth): completed\n\n- user-contact/update-message management, message exchange: completed\n\n- Starts the [ALPHA](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha) phase.\n\n_See the project status page on the [wiki](https://github.com/enricostara/telegram.link/wiki/Project-Status) for the last notes._\n\n\n\n## Documentation\n\nThe api documentation is generated under the _doc/_ folder.\n\n_See the documentation page on the [wiki](https://github.com/enricostara/telegram.link/wiki/Docs)._\n\n\n## Project Architecture\n\nThe whole library is split in **three projects**:\n  \n- **@goodmind/telegram.link** (this library): is the main project and provides the **highest-level interface** to communicate with the Telegram data-center. \nWhen you write your **_'telegram-like-app'_** you should deal only with this module.\n\n- [**@goodmind/telegram-mt-node**](https://github.com/goodmind/telegram-mt-node) (dependency): implements the **Telegram Mobile Protocol** [(MTProto)](https://core.telegram.org/mtproto),\nthe protocol level to establish a secure communication with the Telegram cloud.\n\n- [**@goodmind/telegram-tl-node**](https://github.com/goodmind/telegram-tl-node) (dependency): implements the core [**TypeLanguage types**](https://core.telegram.org/mtproto/TL) and \na **TypeBuilder** class that writes **Type classes and functions** in pure javascript parsing TypeLanguage [schemas](https://core.telegram.org/schema). \nTypeLanguage types represent the **building blocks of the Telegram protocol**.\n\n\n### Other direct dependencies\n\n- [get-flow](https://github.com/enricostara/get-flow): just yet another Node.js flow control utility, powerful and easy to use\n\n- [get-log](https://github.com/enricostara/get-log): a Node.js logging utility, easy to use and ready for production environment.\n\n- [requirish](https://github.com/enricostara/requirish): a tool for avoiding the ../../../ relative paths problem, includes a\nbrowserify-transform to rewrites the require() for browser.\n\n\n## Installation\n\nTo get the complete package:\n```bash\n$ git clone --branch=master git://github.com/goodmind/telegram.link.git\n$ cd telegram.link\n$ npm install\n```\n\nTo install the library as dependency for your app (no tests, no docs, no dev files.. only pure code!):\n```bash\n$ cd YourApp\n$ npm install --save @goodmind/telegram.link\n```\n\n\n## Unit Testing \n\nYou can run unit-test executing the following command in the project-root folder:\n```bash\n$ npm test\n```\n\n\n### About Telegram.. \n\n[Telegram](http://www.telegram.org ) is a cross-platform messenger whose clients are **open source**. \nTelegram users can exchange encrypted and self-destructing messages, photos, videos and documents (all file-types supported). \nTelegram is officially available for Android and iOS (including tablets and devices without Wi-Fi). \nUnofficial clients for Windows Phone, as well as a web version, OS X version, Linux version and a Windows desktop client \nare available from independent developers using the **Telegram API**\n([from Wikipedia](http://en.wikipedia.org/wiki/Telegram_\\(software\\))).\n\n### About Node.JS..\n\n[Node.js](http://nodejs.org) is a cross-platform runtime environment for server-side and networking applications. \nNode.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows and \nLinux with no changes ([from Wikipedia](http://en.wikipedia.org/wiki/Node.js)).\n\n### About the  <img src=\"./telegram.link.png\" width=\"25\"/> telegram.link logo  ..\n\nLogo crafted by [Diego Pasquali](http://dribbble.com/diegopq)\n\n\n## License\n\nThe project is released under the [MIT license](./LICENSE) \n\n\n[npm-url]: https://www.npmjs.org/package/@goodmind/telegram.link\n[npm-image]: https://badge.fury.io/js/%40goodmind%2Ftelegram.link.svg\n\n[travis-url]: https://travis-ci.org/goodmind/telegram.link\n[travis-image]: https://travis-ci.org/goodmind/telegram.link.svg?branch=master\n\n[climate-url]: https://codeclimate.com/github/enricostara/telegram.link\n[climate-image]: https://codeclimate.com/github/enricostara/telegram.link/badges/gpa.svg\n\n[coverage-url]: https://coveralls.io/r/enricostara/telegram.link?branch=master\n[coverage-image]: https://img.shields.io/coveralls/enricostara/telegram.link.svg\n\n[gemnasium-url]: https://gemnasium.com/enricostara/telegram.link\n[gemnasium-image]: https://gemnasium.com/enricostara/telegram.link.svg\n\n[sauce-url]: https://saucelabs.com/u/enricostara\n[sauce-image]: https://saucelabs.com/browser-matrix/enricostara.svg\n","maintainers":[{"name":"2012mjm","email":"2007mjm@gmail.com"}],"time":{"modified":"2022-06-12T14:09:52.577Z","created":"2017-05-20T10:59:59.789Z","0.6.6":"2017-05-20T10:59:59.789Z","0.6.7":"2017-05-20T11:06:05.302Z","0.6.8":"2017-06-07T14:31:43.746Z"},"homepage":"http://telegram.link","keywords":["telegram","api","library"],"repository":{"type":"git","url":"git://github.com/goodmind/telegram.link.git"},"author":{"name":"Enrico Stara","email":"enrico.stara@gmail.com"},"bugs":{"url":"https://github.com/goodmind/telegram.link/issues"},"license":"MIT","readmeFilename":"README.md"}