Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-telegram-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-telegram-bot-api - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

26

package.json
{
"name": "node-telegram-bot-api",
"version": "0.11.0",
"version": "0.11.1",
"description": "Telegram Bot API",

@@ -45,11 +45,2 @@ "main": "index.js",

{
"name": "Sebastian Troć",
"email": "sebastian.troc@gucman.pl",
"url": "https://github.com/SebastianTroc",
"contributions": 1,
"additions": 1,
"deletions": 1,
"hireable": false
},
{
"name": "Ilias Ismanalijev",

@@ -67,5 +58,5 @@ "email": "hello@illyism.com",

"url": "https://github.com/yagop",
"contributions": 72,
"additions": 1307,
"deletions": 246,
"contributions": 82,
"additions": 1572,
"deletions": 415,
"hireable": true

@@ -81,4 +72,13 @@ },

"hireable": true
},
{
"name": "Sebastian Troć",
"email": "sebastian.troc@gucman.pl",
"url": "https://github.com/SebastianTroc",
"contributions": 1,
"additions": 1,
"deletions": 1,
"hireable": false
}
]
}

@@ -91,3 +91,3 @@ [![Build Status](https://travis-ci.org/yagop/node-telegram-bot-api.svg?branch=master)](https://travis-ci.org/yagop/node-telegram-bot-api) [![Build status](https://ci.appveyor.com/api/projects/status/ujko6bsum3g5msjh/branch/master?svg=true)](https://ci.appveyor.com/project/yagop/node-telegram-bot-api/branch/master) [![Coverage Status](https://coveralls.io/repos/yagop/node-telegram-bot-api/badge.svg?branch=master)](https://coveralls.io/r/yagop/node-telegram-bot-api?branch=master) [![bitHound Score](https://www.bithound.io/github/yagop/node-telegram-bot-api/badges/score.svg)](https://www.bithound.io/github/yagop/node-telegram-bot-api)

* **Number|String** *chatId* Unique identifier for the message recipient
* **String** *text* Text of the message to be sent
* **Sting** *text* Text of the message to be sent
* **Object** *[options]* Additional Telegram query options

@@ -94,0 +94,0 @@

@@ -25,5 +25,6 @@ var TelegramBotWebHook = require('./telegramWebHook');

* @param {Object} [options]
* @param {Boolean|Object} [options.polling=false] Set true to enable polling
* @param {Boolean|Object} [options.polling=false] Set true to enable polling or set options
* @param {String|Number} [options.polling.timeout=4] Polling time
* @param {Boolean|Object} [options.webHook=false] Set true to enable WebHook
* @param {String|Number} [options.polling.interval=2000] Interval between requests in miliseconds
* @param {Boolean|Object} [options.webHook=false] Set true to enable WebHook or set options
* @param {String} [options.webHook.key] PEM private key to webHook server

@@ -86,3 +87,3 @@ * @param {String} [options.webHook.cert] PEM certificate key to webHook server

* @return {Promise}
* @see
* @see https://core.telegram.org/bots/api#getme
*/

@@ -89,0 +90,0 @@ TelegramBot.prototype.getMe = function () {

@@ -56,2 +56,3 @@ var debug = require('debug')('node-telegram-bot-api');

};
debug('polling with options: %j', opts);
return requestPromise(opts).then(function (resp) {

@@ -58,0 +59,0 @@ if (resp[0].statusCode !== 200) {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc