Interface StarTransactionTypeChannelPaidMediaSale

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

interface StarTransactionTypeChannelPaidMediaSale {
    @type: "starTransactionTypeChannelPaidMediaSale";
    media: PaidMedia[];
    message_id: number;
    user_id: number;
}

Properties

@type: "starTransactionTypeChannelPaidMediaSale"
media: PaidMedia[]

The bought media.

message_id: number

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

user_id: number

Identifier of the user that bought the media.