Interface DisconnectAffiliateProgram

Disconnects an affiliate program from the given affiliate and immediately deactivates its referral link. Returns updated information about the disconnected affiliate program. Request type for Tdjson#disconnectAffiliateProgram.

interface DisconnectAffiliateProgram {
    @type: "disconnectAffiliateProgram";
    affiliate: AffiliateType;
    url: string;
}

Properties

Properties

@type: "disconnectAffiliateProgram"
affiliate: AffiliateType

The affiliate to which the affiliate program is connected.

url: string

The referral link of the affiliate program.