Skip to content

Function: selectChallengeMethod() ​

ts
function selectChallengeMethod(
   client, 
   challenge, 
   choice
): Promise<PrivateResponseJson>;

Chooses a verification channel (CHALLENGE_SMS or CHALLENGE_EMAIL); sends the code.

Parameters ​

ParameterType
clientPrivateClient
challengeChallenge
choicenumber

Returns ​

Promise<PrivateResponseJson>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.