New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

telegram-bot-api-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegram-bot-api-nodejs - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

11

index.d.ts

@@ -120,3 +120,3 @@ export type ChatType = "private" | "group" | "supergroup" | "channel";

language_code?: string;
is_premium?: boolean;
is_premium: boolean;
can_join_groups?: boolean;

@@ -583,10 +583,3 @@ supports_inline_queries?: boolean;

export declare function parseMessage(m: any): Message;
export declare function parseUser(u: User): {
id: string;
is_bot: boolean;
first_name: string;
last_name: string;
username: string;
language_code: string;
};
export declare function parseUser(u: User): User;
export declare function parseChat(c: Chat): {

@@ -593,0 +586,0 @@ id: number;

1

index.js

@@ -237,2 +237,3 @@ /**

language_code: String(u.language_code ?? ""),
is_premium: Boolean(u.is_premium ?? ""),
};

@@ -239,0 +240,0 @@ }

{
"name": "telegram-bot-api-nodejs",
"version": "1.0.11",
"version": "1.0.12",
"description": "Telegram Bot API client for nodejs",

@@ -5,0 +5,0 @@ "type": "module",

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