Skip to content

Commit fe873e7

Browse files
committed
Update Bot API to 9.1.
Implement new types and methods for API 9.1
1 parent 0f50b4a commit fe873e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1552
-17
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![npm](https://img.shields.io/npm/dt/typescript-telegram-bot-api)](https://www.npmjs.com/package/typescript-telegram-bot-api)
55
[![codecov](https://codecov.io/github/Borodin/typescript-telegram-bot-api/graph/badge.svg?token=509N5AZDTV)](https://codecov.io/github/Borodin/typescript-telegram-bot-api)
66
[![codesandbox](https://img.shields.io/badge/Open_in-sandbox-eaff96)](https://codesandbox.io/p/sandbox/interesting-wave-qgspfs)
7-
[![GitHub](https://img.shields.io/badge/Bot_API-v8.3-0088cc)](https://core.telegram.org/bots/api#february-12-2025)
7+
[![GitHub](https://img.shields.io/badge/Bot_API-v9.0-0088cc)](https://core.telegram.org/bots/api#april-11-2025)
88

99

1010
This is a TypeScript wrapper for the [Telegram Bot API](https://core.telegram.org/bots/api) Node.js and browsers. It allows you to easily interact with the Telegram Bot API using TypeScript.
@@ -76,15 +76,15 @@ await bot.sendPhoto({
7676
caption: 'stream',
7777
});
7878

79-
// or
79+
// or
8080

8181
await bot.sendPhoto({
8282
chat_id: chat_id,
8383
photo: await readFile('photo.jpg'),
8484
caption: 'buffer',
8585
});
8686

87-
// or
87+
// or
8888

8989
await bot.sendPhoto({
9090
chat_id: chat_id,

0 commit comments

Comments
 (0)