StarTransactionTypeBotSubscriptionSale¶
The transaction is a sale of a subscription by the bot; relevant for bots only
StarTransactionTypeBotSubscriptionSale(
user_id: int53,
subscription_period: int32,
product_info: ProductInfo,
invoice_payload: bytes,
affiliate: AffiliateInfo
) → StarTransactionType
user_id¶
int53
Identifier of the user who bought the subscription
subscription_period¶
int32
The number of seconds between consecutive Telegram Star debitings
product_info¶
Information about the bought subscription
invoice_payload¶
bytes
Invoice payload
affiliate¶
Information about the affiliate which received commission from the transaction; may be null if none