Interface GetConnectedAffiliateProgram

Returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program. Request type for Tdjson#getConnectedAffiliateProgram.

interface GetConnectedAffiliateProgram {
    @type: "getConnectedAffiliateProgram";
    affiliate: AffiliateType;
    bot_user_id: number;
}

Properties

@type: "getConnectedAffiliateProgram"
affiliate: AffiliateType

The affiliate to which the affiliate program will be connected.

bot_user_id: number

Identifier of the bot that created the program.