From da662603b05dea4ef58b61d8d71c9f25d0d9148d Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 2 Mar 2026 18:50:51 +0600 Subject: [PATCH] fill changelog and readme --- CHANGELOG.md | 17 +++++++++++++++++ README.md | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01d3495c0d..3b7491f2f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ ## 31.1.0 +**THIS UPDATE CONTAINS ADDING SUPPORT OF [Telegram Bots API 9.5](https://core.telegram.org/bots/api-changelog#march-1-2026)** + +* `Core`: + * Added `UserTag` value class and `senderTag` field to messages + * Added `SetChatMemberTag` request and `UserTag` support in `PromoteChatMember` and `ChatPermissions` + * Added `DateTimeTextSource` for `tg://time` links support + * Added `DateTimeFormatPart` and `TgDateTimeFormatBuilder` for building date-time format strings + * Added `UnitFromBooleanSerializer` +* `API`: + * Added `setChatMemberTag` extensions +* `Utils`: + * Added `dateTime` and `dateTimeln` extensions to `EntitiesBuilder` + * Added `dateTimeMarkdown`, `dateTimeMarkdownV2`, and `dateTimeHTML` string formatting extensions + * Regenerated class casts extensions +* `WebApps`: + * Added `iconCustomEmojiId` support to `BottomButton` and `BottomButtonParams` + ## 31.0.1 * `Core`: diff --git a/README.md b/README.md index e73ad53b37..5f658c3798 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# TelegramBotAPI [![Maven Central Version](https://img.shields.io/maven-central/v/dev.inmo/tgbotapi)](https://central.sonatype.com/artifact/dev.inmo/tgbotapi) [![Supported version](https://img.shields.io/badge/Telegram%20Bot%20API-9.4-blue)](https://core.telegram.org/bots/api-changelog#february-9-2026) +# TelegramBotAPI [![Maven Central Version](https://img.shields.io/maven-central/v/dev.inmo/tgbotapi)](https://central.sonatype.com/artifact/dev.inmo/tgbotapi) [![Supported version](https://img.shields.io/badge/Telegram%20Bot%20API-9.5-blue)](https://core.telegram.org/bots/api-changelog#march-1-2026) | Docs | [![KDocs](https://img.shields.io/static/v1?label=Dokka&message=KDocs&color=blue&logo=kotlin)](https://tgbotapi.inmo.dev/index.html) [![Mini tutorial](https://img.shields.io/static/v1?label=Mk&message=Docs&color=blue&logo=mkdocs)](https://docs.inmo.dev/tgbotapi/index.html) | |:----------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|