1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-14 21:00:15 +00:00

improve API and fix StarTransaction

This commit is contained in:
2024-06-26 00:19:54 +06:00
parent 6a9407f15c
commit 9cfc98bb67
3 changed files with 40 additions and 2 deletions

View File

@@ -80,8 +80,8 @@ sealed interface StarTransaction {
val id: StarTransactionId,
val amount: Int,
val date: TelegramDate,
val source: TransactionPartner?,
val receiver: TransactionPartner?,
val source: TransactionPartner? = null,
val receiver: TransactionPartner? = null,
)
override val descriptor: SerialDescriptor