ultra-telegram-framework
    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: string;
    }
    Index

    Properties

    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

    Optional. Information about the bot that sponsored the affiliate program

    type: string

    Type of the transaction partner, always "affiliate_program"