Comparing version 1.1.0 to 1.1.1
@@ -218,3 +218,3 @@ 'use strict'; | ||
options.inline_query_id = queryId; | ||
options.results = results; | ||
options.results = JSON.stringify(results); | ||
@@ -221,0 +221,0 @@ return yarl.post(this.url + 'answerInlineQuery', {body: options, json: true}); |
{ | ||
"name": "tg-yarl", | ||
"author": "Alexey Bystrov <strikeentco@gmail.com>", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A simple Promise based wrapper over Telegram Bot Api with additional features.", | ||
@@ -6,0 +6,0 @@ "engines": { |
@@ -41,3 +41,3 @@ tg-yarl | ||
## [getUpdates([timeout], [limit], [offset])](https://core.telegram.org/bots/api#getupdates) | ||
## [getUpdates([offset], [limit], [timeout])](https://core.telegram.org/bots/api#getupdates) | ||
@@ -48,5 +48,5 @@ Use this method to receive incoming updates using long polling. | ||
* **offset** (*Integer*) - Identifier of the first update to be returned. | ||
* **limit** (*Integer*) - Limits the number of updates to be retrieved. | ||
* **timeout** (*Integer*) - Timeout in seconds for long polling. | ||
* **limit** (*Integer*) - Limits the number of updates to be retrieved. | ||
* **offset** (*Integer*) - Identifier of the first update to be returned. | ||
@@ -297,2 +297,2 @@ ## [sendMessage(chatId, text, [options])](https://core.telegram.org/bots/api#sendmessage) | ||
The MIT License (MIT)<br/> | ||
Copyright (c) 2015 Alexey Bystrov | ||
Copyright (c) 2015-2016 Alexey Bystrov |
Sorry, the diff of this file is not supported yet
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
20678