node-vk-bot-api
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9397
143