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

telegram-bot-api-types

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.9.11 to 7.9.12

26

package.json
{
"name": "telegram-bot-api-types",
"version": "7.9.11",
"version": "7.9.12",
"description": "Telegram Bot API types",

@@ -10,25 +10,7 @@ "repository": "git@github.com:TBXark/telegram-bot-api-types.git",

"types": "index.d.ts",
"main": "index.js",
"module": "index.js",
"files": [
"index.d.ts",
"index.js"
"index.d.ts"
],
"scripts": {
"gen:html": "curl https://core.telegram.org/bots/api -o index.html",
"gen:json": "tsx src/html2json.ts",
"gen:dts": "tsx src/json2types.ts",
"gen:returns": "tsx src/json2returns.ts",
"gen": "npm run gen:html && npm run gen:json && npm run gen:returns && npm run gen:dts",
"test": "tsx test/example.ts"
},
"dependencies": {},
"devDependencies": {
"cheerio": "^1.0.0",
"@types/node": "^22.5.0",
"tsx": "^4.17.0",
"node-fetch": "^3.3.2",
"https-proxy-agent": "^7.0.5"
}
}
"devDependencies": {}
}

5

README.md
# telegram-bot-api-types
Telegram Bot API SDK compiled size is 0KB that only includes type definition files. It can be used to conveniently develop Telegram Bots in TypeScript. You can wrap your API client with as many web request libraries as you want.
Telegram Bot API SDK compiled size is 0KB that only includes type definition files and JSDoc files. It can be used to conveniently develop Telegram Bots in TypeScript and JavaScript. You can wrap your API client with as many web request libraries as you want.

@@ -80,3 +80,3 @@ This is a `d.ts` and `jsdoc` file for Telegram Bot API. It is based on the official [Telegram Bot API](https://core.telegram.org/bots/api) documentation.

type APIClient = APIClientBase & Telegram.AllBotMethods<Response>;
type APIClient = APIClientBase & Telegram.AllBotMethods;

@@ -123,2 +123,3 @@ export function createAPIClient(token: string): APIClient {

If you want to use javascript, you can follow the example [`jsdoc.test.js`](test/jsdoc.test.js)

@@ -125,0 +126,0 @@ ## License

Sorry, the diff of this file is too big to display

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