Skip to content

StarTransactionTypeBotSubscriptionPurchase

Type · TDLib 1.8.67 · d1085f9c

The transaction is a purchase of a subscription from a bot or a business account by the current user; relevant for regular users only

StarTransactionTypeBotSubscriptionPurchase(
  user_id: int53,
  subscription_period: int32,
  product_info: ProductInfo
) → StarTransactionType

user_id

int53

Identifier of the bot or the business account user who created the subscription link

subscription_period

int32

The number of seconds between consecutive Telegram Star debitings

product_info

ProductInfo

Information about the bought subscription