referralInteraction
Ce contenu n’est pas encore disponible dans votre langue.
referralInteraction(
client,args?):Promise<"success"|"idle"|"processing"|"no-referrer"|"self-referral"|undefined>
Defined in: actions/referral/referralInteraction.ts:21
Function used to handle referral interactions
Parameters
Section titled “Parameters”client
Section titled “client”The current Frak Client
options?
Section titled “options?”Some options for the referral interaction
Returns
Section titled “Returns”Promise<"success" | "idle" | "processing" | "no-referrer" | "self-referral" | undefined>
A promise with the resulting referral state, or undefined in case of an error
Description
Section titled “Description”This function will automatically handle the referral interaction process
processReferral for more details on the automatic referral handling process