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

@types/node-telegram-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node-telegram-bot-api - npm Package Compare versions

Comparing version 0.40.3 to 0.50.0

32

node-telegram-bot-api/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for node-telegram-bot-api 0.40
// Type definitions for node-telegram-bot-api 0.50
// Project: https://github.com/yagop/node-telegram-bot-api

@@ -10,2 +10,3 @@ // Definitions by: Alex Muench <https://github.com/ammuench>

// Michael Orlov <https://github.com/MiklerGM>
// Alexander Ariutin <https://github.com/ariutin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -290,2 +291,6 @@ // TypeScript Version: 2.3

interface SendDiceOptions extends SendBasicOptions {
emoji?: string;
}
/// TELEGRAM TYPES ///

@@ -1012,2 +1017,7 @@ interface PassportFile {

}
interface BotCommand {
command: string;
description: string;
}
}

@@ -1394,4 +1404,24 @@

): number;
setChatPermissions(
chatId: number | string,
chatPermissions: TelegramBot.ChatPermissions
): Promise<boolean>;
sendDice(
chatId: number | string,
options?: TelegramBot.SendDiceOptions
): Promise<TelegramBot.Message>;
setChatAdministratorCustomTitle(
chatId: number | string,
userId: string,
customTitle: string
): Promise<boolean>;
getMyCommands(): Promise<TelegramBot.BotCommand[]>;
setMyCommands(commands: TelegramBot.BotCommand[]): Promise<boolean>;
}
export = TelegramBot;

11

node-telegram-bot-api/package.json
{
"name": "@types/node-telegram-bot-api",
"version": "0.40.3",
"version": "0.50.0",
"description": "TypeScript definitions for node-telegram-bot-api",

@@ -41,2 +41,7 @@ "license": "MIT",

"githubUsername": "MiklerGM"
},
{
"name": "Alexander Ariutin",
"url": "https://github.com/ariutin",
"githubUsername": "ariutin"
}

@@ -56,4 +61,4 @@ ],

},
"typesPublisherContentHash": "47649a9efe721bca0aaaac8b98de33881acaf6231026e1c0d3abdf6d239cc343",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "e085435c9707e307f566fd7cb23cb058adc1ef195897e463707c01e1a79ffa69",
"typeScriptVersion": "3.0"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 15 Apr 2020 04:10:56 GMT
* Last updated: Wed, 01 Jul 2020 07:49:25 GMT
* Dependencies: [@types/request](https://npmjs.com/package/@types/request), [@types/node](https://npmjs.com/package/@types/node)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Alex Muench](https://github.com/ammuench), [Agadar](https://github.com/agadar), [Giorgio Garasto](https://github.com/Dabolus), [Kallu609](https://github.com/Kallu609), [XC-Zhang](https://github.com/XC-Zhang), [AdityaThebe](https://github.com/adityathebe), and [Michael Orlov](https://github.com/MiklerGM).
These definitions were written by [Alex Muench](https://github.com/ammuench), [Agadar](https://github.com/agadar), [Giorgio Garasto](https://github.com/Dabolus), [Kallu609](https://github.com/Kallu609), [XC-Zhang](https://github.com/XC-Zhang), [AdityaThebe](https://github.com/adityathebe), [Michael Orlov](https://github.com/MiklerGM), and [Alexander Ariutin](https://github.com/ariutin).
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