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.25 to 1.0.26

42

index.d.ts

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

}
interface Game {
export interface Game {
title: string;

@@ -626,29 +626,37 @@ description: string;

type CallbackGame = object;
interface BotCommand {
export interface GameHighScore {
position: number;
user: User;
score: number;
}
export interface Metadata {
type?: MessageType;
}
export interface BotCommand {
command: string;
description: string;
}
type BotCommandScope = BotCommandScopeDefault | BotCommandScopeAllPrivateChats | BotCommandScopeAllGroupChats | BotCommandScopeAllChatAdministrators | BotCommandScopeChat | BotCommandScopeChatAdministrators | BotCommandScopeChatMember;
interface BotCommandScopeDefault {
type: 'default';
export type BotCommandScope = BotCommandScopeDefault | BotCommandScopeAllPrivateChats | BotCommandScopeAllGroupChats | BotCommandScopeAllChatAdministrators | BotCommandScopeChat | BotCommandScopeChatAdministrators | BotCommandScopeChatMember;
export interface BotCommandScopeDefault {
type: "default";
}
interface BotCommandScopeAllPrivateChats {
type: 'all_private_chats';
export interface BotCommandScopeAllPrivateChats {
type: "all_private_chats";
}
interface BotCommandScopeAllGroupChats {
type: 'all_group_chats';
export interface BotCommandScopeAllGroupChats {
type: "all_group_chats";
}
interface BotCommandScopeAllChatAdministrators {
type: 'all_chat_administrators';
export interface BotCommandScopeAllChatAdministrators {
type: "all_chat_administrators";
}
interface BotCommandScopeChat {
type: 'chat';
export interface BotCommandScopeChat {
type: "chat";
chat_id: number | string;
}
interface BotCommandScopeChatAdministrators {
type: 'chat_administrators';
export interface BotCommandScopeChatAdministrators {
type: "chat_administrators";
chat_id: number | string;
}
interface BotCommandScopeChatMember {
type: 'chat_member';
export interface BotCommandScopeChatMember {
type: "chat_member";
chat_id: number | string;

@@ -655,0 +663,0 @@ user_id: number;

{
"name": "telegram-bot-api-nodejs",
"version": "1.0.25",
"version": "1.0.26",
"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