mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 23:29:33 +00:00
fill changelog and update readme
This commit is contained in:
15
CHANGELOG.md
15
CHANGELOG.md
@@ -2,8 +2,23 @@
|
||||
|
||||
## 15.1.0
|
||||
|
||||
**THIS UPDATE CONTAINS BREAKING CHANGES**
|
||||
|
||||
**THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.7** (thanks to [bpavuk](https://threads.net/b_pavuchok))
|
||||
|
||||
**THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.6** (with participant and help of [bpavuk](https://threads.net/b_pavuchok))
|
||||
|
||||
* Add support of paid media
|
||||
* Update web apps
|
||||
* `Version`:
|
||||
* `MicroUtils`: `0.21.1` -> `0.21.2`
|
||||
* `Core`:
|
||||
* `TelegramMedia` has been separated onto two interfaces: `TelegramFreeMedia` and `TelegramPaidMedia`
|
||||
* `TelegramFreeMedia` has replaced `TelegramMedia` on all old places where it have been used
|
||||
* `Photo` has been renamed to `PhotoFile`
|
||||
* `BehaviourBuilder`:
|
||||
* Add notification when handling of `/privacy` command is absence
|
||||
* Add several extensions to simplify setting up `/privacy` reaction
|
||||
|
||||
## 15.0.0
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# TelegramBotAPI [](https://maven-badges.herokuapp.com/maven-central/dev.inmo/tgbotapi) [](https://core.telegram.org/bots/api-changelog#june-18-2024)
|
||||
# TelegramBotAPI [](https://maven-badges.herokuapp.com/maven-central/dev.inmo/tgbotapi) [](https://core.telegram.org/bots/api-changelog#july-7-2024)
|
||||
|
||||
| Docs | [](https://tgbotapi.inmo.dev/index.html) [](https://docs.inmo.dev/tgbotapi/index.html) |
|
||||
|:----------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@file:Suppress("OPT_IN_USAGE")
|
||||
|
||||
package dev.inmo.tgbotapi.types.payments.stars
|
||||
|
||||
import dev.inmo.tgbotapi.types.InvoicePayload
|
||||
@@ -43,8 +45,8 @@ sealed interface TransactionPartner {
|
||||
@SerialName(invoicePayloadField)
|
||||
val invoicePayload: InvoicePayload? = null
|
||||
) : TransactionPartner {
|
||||
override val type: String
|
||||
get() = Companion.type
|
||||
@EncodeDefault
|
||||
override val type: String = Companion.type
|
||||
|
||||
companion object {
|
||||
const val type: String = "user"
|
||||
|
Reference in New Issue
Block a user