Star Transaction
@Serializable
Describes a Telegram Star transaction.
Constructors
Link copied to clipboard
constructor(id: String, amount: Int, date: Instant, source: TransactionPartner? = null, receiver: TransactionPartner? = null)
Properties
Link copied to clipboard
Optional. Receiver of an outgoing transaction (e.g., a user for a purchase refund, Fragment for a withdrawal). Only for outgoing transactions
Link copied to clipboard
Optional. Source of an incoming transaction (e.g., a user purchasing goods or services, Fragment refunding a failed withdrawal). Only for incoming transactions