Comparing version 2.12.1 to 2.12.2
@@ -57,3 +57,3 @@ import * as Interfaces from '../../generated/telegram-interfaces'; | ||
/** Generate button that will prompt user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field */ | ||
switchToChosenChatButton(params: SwitchToChosenChatButtonParams): void; | ||
switchToChosenChatButton(params: SwitchToChosenChatButtonParams): this; | ||
/** Generate game button */ | ||
@@ -60,0 +60,0 @@ gameButton(params: GameButtonParams): this; |
@@ -65,3 +65,3 @@ "use strict"; | ||
switchToChosenChatButton(params) { | ||
this.addButton({ | ||
return this.addButton({ | ||
text: params.text, | ||
@@ -68,0 +68,0 @@ switch_inline_query_chosen_chat: { |
{ | ||
"name": "puregram", | ||
"version": "2.12.1", | ||
"version": "2.12.2", | ||
"description": "powerful and modern telegram bot api sdk for node.js and typescript 😁", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
1057403