Interface StarTransactionTypeAffiliateProgramCommission

The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only. Subtype of StarTransactionType.

interface StarTransactionTypeAffiliateProgramCommission {
    @type: "starTransactionTypeAffiliateProgramCommission";
    chat_id: number;
    commission_per_mille: number;
}

Properties

@type: "starTransactionTypeAffiliateProgramCommission"
chat_id: number

Identifier of the chat that created the affiliate program.

commission_per_mille: number

The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.