Interface DisconnectChatAffiliateProgram

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

interface DisconnectChatAffiliateProgram {
    @type: "disconnectChatAffiliateProgram";
    chat_id: number;
    url: string;
}

Properties

Properties

@type: "disconnectChatAffiliateProgram"
chat_id: number

Identifier of the chat for which the affiliate program is connected.

url: string

The referral link of the affiliate program.