Comparing version 2.1.27 to 2.1.28
@@ -45,3 +45,3 @@ import { HttpClient } from "./ICQHttpClient"; | ||
deleteMessages(chatId: string, msgId: string): Promise<Response>; | ||
answerCallbackQuery(chatId: string, text: string, showAlert: boolean, url: string): Promise<Response>; | ||
answerCallbackQuery(queryId: string, text: string, showAlert: boolean, url: string): Promise<Response>; | ||
sendActions(chatId: string, actions: 'looking' | 'typing'): Promise<Response>; | ||
@@ -48,0 +48,0 @@ getChatInfo(chatId: string): Promise<Chat>; |
@@ -235,6 +235,6 @@ "use strict"; | ||
}; | ||
Bot.prototype.answerCallbackQuery = function (chatId, text, showAlert, url) { | ||
Bot.prototype.answerCallbackQuery = function (queryId, text, showAlert, url) { | ||
var options = { | ||
"token": this.token, | ||
"chatId": chatId, | ||
"queryId": queryId, | ||
"text": text | ||
@@ -241,0 +241,0 @@ }; |
@@ -57,3 +57,3 @@ { | ||
}, | ||
"version": "2.1.27" | ||
"version": "2.1.28" | ||
} |
@@ -258,6 +258,6 @@ import { HttpClient, ICQHttpClient } from "./ICQHttpClient"; | ||
answerCallbackQuery(chatId: string, text: string, showAlert: boolean, url: string): Promise<Response> { | ||
answerCallbackQuery(queryId: string, text: string, showAlert: boolean, url: string): Promise<Response> { | ||
let options = { | ||
"token": this.token, | ||
"chatId": chatId, | ||
"queryId": queryId, | ||
"text": text | ||
@@ -264,0 +264,0 @@ } |
Sorry, the diff of this file is not supported yet
325964