telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface TransactionPartnerAffiliateProgram

    Describes the affiliate program that issued the affiliate commission received via this transaction.

    interface TransactionPartnerAffiliateProgram {
        commission_per_mille: number;
        sponsor_user?: User;
        type: "affiliate_program";
    }
    Index
    commission_per_mille: number

    The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users.

    sponsor_user?: User

    Information about the bot that sponsored the affiliate program.

    type: "affiliate_program"

    Type of the transaction partner, always "affiliate_program".