Interface ConnectAffiliateProgram

Connects an affiliate program to the given affiliate. Returns information about the connected affiliate program. Request type for Tdjson#connectAffiliateProgram.

interface ConnectAffiliateProgram {
    @type: "connectAffiliateProgram";
    affiliate: AffiliateType;
    bot_user_id: number;
}

Properties

@type: "connectAffiliateProgram"
affiliate: AffiliateType

The affiliate to which the affiliate program will be connected.

bot_user_id: number

Identifier of the bot, which affiliate program is connected.