Interface AffiliateInfo

Contains information about an affiliate that received commission from a Telegram Star transaction.

interface AffiliateInfo {
    @type: "affiliateInfo";
    affiliate_chat_id: number;
    commission_per_mille: number;
    star_amount: StarAmount;
}

Properties

@type: "affiliateInfo"
affiliate_chat_id: number

Identifier of the chat which received the commission.

commission_per_mille: number

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

star_amount: StarAmount

The amount of Telegram Stars that were received by the affiliate; can be negative for refunds.