Socket
Socket
Sign inDemoInstall

slimbot

Package Overview
Dependencies
53
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.8 to 0.7.9

4

package.json
{
"name": "slimbot",
"version": "0.7.8",
"version": "0.7.9",
"description": "Simple and minimal Telegram Bot API for Node.js. No frills.",

@@ -34,3 +34,3 @@ "author": "Edison Chee <edisonchee@live.com>",

"coveralls": "^3.0.0",
"eslint": "^4.11.0",
"eslint": "^4.12.0",
"istanbul": "^0.4.5",

@@ -37,0 +37,0 @@ "jasmine": "^2.8.0",

@@ -10,3 +10,3 @@ [![Build Status](https://travis-ci.org/edisonchee/slimbot.svg?branch=master)](https://travis-ci.org/edisonchee/slimbot)

Updated for [Bot API 3.4](https://core.telegram.org/bots/api#october-11-2017).
Updated for [Bot API 3.5](https://core.telegram.org/bots/api#november-17-2017).

@@ -13,0 +13,0 @@ ## Resources

@@ -469,2 +469,17 @@ 'use strict';

sendMediaGroup(chatId, media, optionalParams, callback) {
let params = {
chat_id: chatId,
media: media
};
if (typeof optionalParams == 'function') {
callback = optionalParams;
} else {
Object.assign(params, optionalParams);
}
return this._request('sendMediaGroup', params, callback);
}
sendLocation(chatId, lat, lon, optionalParams, callback) {

@@ -471,0 +486,0 @@ let params = {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc