Interface StarTransactionTypeChannelSubscriptionPurchase

The transaction is a purchase of a subscription to a channel chat by the current user; for regular users only. Subtype of StarTransactionType.

interface StarTransactionTypeChannelSubscriptionPurchase {
    @type: "starTransactionTypeChannelSubscriptionPurchase";
    chat_id: number;
    subscription_period: number;
}

Properties

@type: "starTransactionTypeChannelSubscriptionPurchase"
chat_id: number

Identifier of the channel chat that created the subscription.

subscription_period: number

The number of seconds between consecutive Telegram Star debitings.