improve API and fix StarTransaction

This commit is contained in:
InsanusMokrassar committed 2024-06-26 00:19:54 +06:00
1 parent 6a9407f15c
commit 9cfc98bb67
3 files changed
+40 -2

No files matched your search

@@ -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