Skip to content

Commit

Permalink
Update for BOT API version 7.6 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisDmitry authored Jul 1, 2024
1 parent 6998ab2 commit 0507123
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a href="https://npmjs.com/package/telegram-webapps"><img alt="npm" src="https://img.shields.io/npm/dt/telegram-webapps"/></a>
</p>
<p align="center">
<a href="https://core.telegram.org/bots/webapps"><img alt="Telegram Bot API Version 7.2" src="https://img.shields.io/badge/Telegram%20Bot%20API-7.2-blue.svg?logo=telegram"/></a>
<a href="https://core.telegram.org/bots/webapps"><img alt="Telegram Bot API Version 7.6" src="https://img.shields.io/badge/Telegram%20Bot%20API-7.2-blue.svg?logo=telegram"/></a>
</p>
<p align="center">
<a href="https://github.com/DavisDmitry/telegram-webapps/actions/workflows/lint.yml"><img alt="CI Lint" src="https://github.com/DavisDmitry/telegram-webapps/actions/workflows/lint.yml/badge.svg"/></a>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "telegram-webapps",
"version": "7.2.1",
"version": "7.6.0",
"description": "Typings for Telegram Mini Apps",
"keywords": [
"telegram",
Expand Down
6 changes: 6 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 0507123

Please sign in to comment.