telegram-bot-api-types
Advanced tools
Comparing version 7.9.11 to 7.9.12
{ | ||
"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": {} | ||
} |
# 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
0
126
399895
4
5445