puregram
Puregram is a powerful Node.js package that allows you to work with Telegram API 🚀
Installation
Node.js 8.0.0 or newer is required
Yarn
yarn add puregram
NPM
npm i puregram
Example usage
let { Telegram } = require('puregram');
let telegram = new Telegram({
token: process.env.TOKEN,
});
telegram.updates.on('message', context => context.send('Hi!'));
telegram.updates.startPolling();
console.log('Started polling');
Packages that may be useful to you
If you want to add your module in the list, create a new issue in the repository.
Thanks to
Biggest thanks to Negezor for his vk-io library that helped me with this package!
VK chat
https://vk.me/join/AJQ1d7n35xXnfBxIB21zACP3