Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More ā†’
Socket
Sign inDemoInstall
Socket

telegraf

Package Overview
Dependencies
Maintainers
3
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegraf - npm Package Compare versions

Comparing version 4.8.0-canary.3 to 4.8.0-canary.4

2

lib/context.js

@@ -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, }?: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc