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.0 to 0.40.1

33

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

@@ -284,2 +284,32 @@ // Type definitions for node-telegram-bot-api 0.40

/// TELEGRAM TYPES ///
interface PassportFile {
file_id: string;
file_size: number;
file_date: number;
}
interface EncryptedPassportElement {
type: string;
data?: string;
phone_number?: string;
email?: string;
files?: PassportFile[];
front_side?: PassportFile;
reverse_side?: PassportFile;
selfie?: PassportFile;
translation?: PassportFile[];
hash: string;
}
interface EncryptedCredentials {
data: string;
hash: string;
secret: string;
}
interface PassportData {
data: EncryptedPassportElement[];
credentials: EncryptedCredentials;
}
interface Update {

@@ -383,2 +413,3 @@ update_id: number;

connected_website?: string;
passport_data?: PassportData;
reply_markup?: InlineKeyboardMarkup;

@@ -1114,3 +1145,3 @@ }

sendInvoice(chatId: number | string, title: string, description: string, payload: string, providerToken: string, startParameter: string, currency: string,
prices: ReadonlyArray<TelegramBot.LabeledPrice>, options?: TelegramBot.SendInvoiceOptions): Promise<TelegramBot.Message>;
prices: ReadonlyArray<TelegramBot.LabeledPrice>, options?: TelegramBot.SendInvoiceOptions): Promise<TelegramBot.Message>;

@@ -1117,0 +1148,0 @@ answerShippingQuery(shippingQueryId: string, ok: boolean, options?: TelegramBot.AnswerShippingQueryOptions): Promise<boolean>;

8

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

@@ -39,3 +39,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -51,4 +51,4 @@ "type": "git",

},
"typesPublisherContentHash": "efe4b255a0965dd81b80c1fa03a3b3c9e26ad70916f1b62e9af83e04f9676a11",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "c6e6b129bf60dac0c3706bfaa5fa48c3eeec3025229bffc5c202cd19c14cda18",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-telegram-bot-api
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-telegram-bot-api.
Additional Details
* Last updated: Mon, 04 Nov 2019 17:03:29 GMT
* Dependencies: @types/request, @types/node
### Additional Details
* Last updated: Mon, 16 Dec 2019 11:39:11 GMT
* Dependencies: [@types/request](https://npmjs.com/package/@types/request), [@types/node](https://npmjs.com/package/@types/node)
* 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>, and AdityaThebe <https://github.com/adityathebe>.
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), and AdityaThebe (https://github.com/adityathebe).
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