Interface InternalLinkTypeChatAffiliateProgram

The link is an affiliate program link. Call searchChatAffiliateProgram with the given username and referrer to process the link. Subtype of InternalLinkType.

interface InternalLinkTypeChatAffiliateProgram {
    @type: "internalLinkTypeChatAffiliateProgram";
    referrer: string;
    username: string;
}

Properties

@type: "internalLinkTypeChatAffiliateProgram"
referrer: string

Referrer to be passed to searchChatAffiliateProgram.

username: string

Username to be passed to searchChatAffiliateProgram.