@azteam/telegram-api
Advanced tools
Comparing version 1.1.61 to 1.1.62
@@ -260,5 +260,5 @@ "use strict"; | ||
if (entity.type === 'bot_command') { | ||
var commandLength = entity.offset + entity.length; | ||
var command = text.substring(entity.offset + 1, commandLength); | ||
var parseText = text.substring(commandLength).trim(); | ||
var commandLength = entity.offset + entity.length, | ||
command = text.substring(entity.offset + 1, commandLength), | ||
parseText = text.substring(commandLength).trim(); | ||
return { | ||
@@ -265,0 +265,0 @@ messageType: _constant.USER_MESSAGE_TYPE.COMMAND, |
{ | ||
"name": "@azteam/telegram-api", | ||
"version": "1.1.61", | ||
"version": "1.1.62", | ||
"description": "", | ||
@@ -15,3 +15,3 @@ "keywords": [ | ||
"scripts": { | ||
"build": "babel src --delete-dir-on-start -d lib" | ||
"build": "babel src --delete-dir-on-start -d lib" | ||
}, | ||
@@ -18,0 +18,0 @@ "dependencies": { |
@@ -118,5 +118,5 @@ import HttpClient from '@azteam/http-client'; | ||
if (entity.type === 'bot_command') { | ||
const commandLength = entity.offset + entity.length; | ||
const command = text.substring(entity.offset + 1, commandLength); | ||
const parseText = text.substring(commandLength).trim(); | ||
const commandLength = entity.offset + entity.length, | ||
command = text.substring(entity.offset + 1, commandLength), | ||
parseText = text.substring(commandLength).trim(); | ||
@@ -123,0 +123,0 @@ return { |
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
30771