Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "node-vk-bot-api",
"version": "0.1.1",
"version": "0.1.2",
"description": "Clean API for VK bots based on long poll with multi-dispatch send messages (~75 per second).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -118,24 +118,6 @@ # VK Bot API

Get message info from forward message. If function detects `fwd_messages`, then will call `.getLastMessage(update)`. Function takes one argument: `update` **(object)**.
Get message info from forward message. If function detects `fwd_messages`, then will call `.getLastMessage(update)`. Function takes one argument: `update` **(array)**.
```javascript
app.getForwardMessage({
"response": {
"count": 1,
"items": [{
"id": 480,
"date": 1491653021,
"out": 0,
"user_id": 145003487,
"read_state": 1,
"title": " ... ",
"body": "",
"fwd_messages": [{
"user_id": -138165805,
"date": 1491652976,
"body": "Hello, world!"
}]
}]
}
});
app.getForwardMessage([ 4, 487, 529, 145003487, 1491653078, ' ... ', '', { fwd: '145003487_2214301' } ]);
```

@@ -142,0 +124,0 @@

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