StarTransactionTypeUpgradedGiftSale¶
The transaction is a sale of an upgraded gift; relevant for regular users only
StarTransactionTypeUpgradedGiftSale(
user_id: int53,
gift: UpgradedGift,
commission_per_mille: int32,
commission_star_amount: StarAmount,
via_offer: Bool
) → StarTransactionType
user_id¶
int53
Identifier of the user who bought the gift
gift¶
The gift
commission_per_mille¶
int32
The number of Telegram Stars received by the Telegram for each 1000 Telegram Stars received by the seller of the gift
commission_star_amount¶
The Telegram Star amount that was received by Telegram; can be negative for refunds
via_offer¶
Bool
True, if the gift was sold through a purchase offer