From 0507123234130660de840b8cdd8eb645e9b9d3b8 Mon Sep 17 00:00:00 2001 From: Dmitry <56270217+DavisDmitry@users.noreply.github.com> Date: Tue, 2 Jul 2024 00:27:21 +0500 Subject: [PATCH] Update for BOT API version 7.6 (#18) https://core.telegram.org/bots/webapps#july-1-2024 --- README.md | 2 +- package.json | 2 +- src/index.d.ts | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2494fd..1731799 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ npm

-Telegram Bot API Version 7.2 +Telegram Bot API Version 7.6

CI Lint diff --git a/package.json b/package.json index fd97e2c..b8b8299 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telegram-webapps", - "version": "7.2.1", + "version": "7.6.0", "description": "Typings for Telegram Mini Apps", "keywords": [ "telegram", diff --git a/src/index.d.ts b/src/index.d.ts index 8dcd848..ef547a0 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -595,6 +595,12 @@ export declare namespace TelegramWebApps { * Also available as the CSS variable `var(--tg-theme-section-header-text-color)`. */ section_header_text_color?: `#${string}` + /** + * `Bot API 7.6+` Section separator color in the `#RRGGBB` format. + * + * Also available as the CSS variable `var(--tg-theme-section-separator-color)`. + */ + section_separator_color?: `#${string}` /** * `Bot API 7.0+` Subtitle text color in the `#RRGGBB` format. *