Comparing version 1.0.1 to 1.0.2
@@ -166,3 +166,3 @@ 'use strict'; | ||
options.chat_id = chatId; | ||
options.audio = fileLoad(data); | ||
options.voice = fileLoad(data); | ||
@@ -174,3 +174,3 @@ if (this.keyboard) { | ||
return yarl.post(this.url + 'sendVideo', {body: options, json: true, multipart: true}); | ||
return yarl.post(this.url + 'sendVoice', {body: options, json: true, multipart: true}); | ||
}; | ||
@@ -177,0 +177,0 @@ |
{ | ||
"name": "tg-yarl", | ||
"author": "Alexey Bystrov <strikeentco@gmail.com>", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A simple Promise based wrapper over Telegram Bot Api with additional features.", | ||
@@ -6,0 +6,0 @@ "engines": { |
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
19465