Interface StarTransactionTypeChannelPaidMediaPurchase

The transaction is a purchase of paid media from a channel by the current user; for regular users only. Subtype of StarTransactionType.

interface StarTransactionTypeChannelPaidMediaPurchase {
    @type: "starTransactionTypeChannelPaidMediaPurchase";
    chat_id: number;
    media: PaidMedia[];
    message_id: number;
}

Properties

@type: "starTransactionTypeChannelPaidMediaPurchase"
chat_id: number

Identifier of the channel chat that sent the paid media.

media: PaidMedia[]

The bought media if the transaction wasn't refunded.

message_id: number

Identifier of the corresponding message with paid media; can be 0 or an identifier of a deleted message.