Socket
Socket
Sign inDemoInstall

puregram

Package Overview
Dependencies
4
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

puregram


Version published
Maintainers
1
Install size
1.59 MB
Created

Readme

Source

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().then(
  () => console.log('Started polling')
);

Community

Packages that may be useful to you

  • @puregram/session: Simple implementation of the sessions
  • @puregram/scenes: Simple implementation of middleware-based scene management

If you want to add your module in the list, create a new issue in the repository.

Bots that were made using puregram

If you want to see your bot here — PM me (I will add up to 10 bots here)

Thanks to

Biggest thanks to Negezor for his vk-io library that helped me with this package!

Chats

VK chat Telegram chat

Keywords

FAQs

Last updated on 20 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc