Interface SearchChatAffiliateProgram

Searches a chat with an affiliate program. Returns the chat if found and the program is active. Request type for Tdjson#searchChatAffiliateProgram.

interface SearchChatAffiliateProgram {
    @type: "searchChatAffiliateProgram";
    referrer: string;
    username: string;
}

Properties

@type: "searchChatAffiliateProgram"
referrer: string

The referrer from an internalLinkTypeChatAffiliateProgram link.

username: string

Username of the chat.