Interface StarTransactionTypeChannelSubscriptionSale

The transaction is a sale of a subscription by the channel chat; for channel chats only. Subtype of StarTransactionType.

interface StarTransactionTypeChannelSubscriptionSale {
    @type: "starTransactionTypeChannelSubscriptionSale";
    subscription_period: number;
    user_id: number;
}

Properties

@type: "starTransactionTypeChannelSubscriptionSale"
subscription_period: number

The number of seconds between consecutive Telegram Star debitings.

user_id: number

Identifier of the user that bought the subscription.