Comparing version 4.8.0-canary.3 to 4.8.0-canary.4
@@ -662,3 +662,3 @@ "use strict"; | ||
this.assert(this.chat, 'getChatMenuButton'); | ||
return this.telegram.getChatMenuButton(); | ||
return this.telegram.getChatMenuButton({ chatId: this.chat.id }); | ||
} | ||
@@ -665,0 +665,0 @@ /** |
@@ -810,3 +810,3 @@ "use strict"; | ||
* @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be changed. | ||
* @param menuButton An object for the new bot's menu button. | ||
* @param menuButton An object for the bot's new menu button. | ||
*/ | ||
@@ -813,0 +813,0 @@ setChatMenuButton({ chatId, menuButton, } = {}) { |
{ | ||
"name": "telegraf", | ||
"version": "4.8.0-canary.3", | ||
"version": "4.8.0-canary.4", | ||
"description": "Modern Telegram Bot Framework", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -922,3 +922,3 @@ import * as tg from './core/types/typegram' | ||
this.assert(this.chat, 'getChatMenuButton') | ||
return this.telegram.getChatMenuButton() | ||
return this.telegram.getChatMenuButton({ chatId: this.chat.id }) | ||
} | ||
@@ -925,0 +925,0 @@ |
@@ -1122,3 +1122,3 @@ import * as tg from './core/types/typegram' | ||
* @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be changed. | ||
* @param menuButton An object for the new bot's menu button. | ||
* @param menuButton An object for the bot's new menu button. | ||
*/ | ||
@@ -1125,0 +1125,0 @@ setChatMenuButton({ |
@@ -410,3 +410,3 @@ /// <reference types="node" /> | ||
* @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be changed. | ||
* @param menuButton An object for the new bot's menu button. | ||
* @param menuButton An object for the bot's new menu button. | ||
*/ | ||
@@ -413,0 +413,0 @@ setChatMenuButton({ chatId, menuButton, }?: { |
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
448341