Star Transaction
@Serializable
Describes a Telegram Star transaction.
Constructors
Link copied to clipboard
constructor(id: String, amount: Int, nanostarAmount: Int? = null, date: Instant, source: TransactionPartner? = null, receiver: TransactionPartner? = null)
Properties
Link copied to clipboard
Optional. The number of 1/1000000000 shares of Telegram Stars transferred by the transaction; from 0 to 999999999
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