Function: selectChallengeMethod()
ts
function selectChallengeMethod(
client,
challenge,
choice
): Promise<PrivateResponseJson>;Chooses a verification channel (CHALLENGE_SMS or CHALLENGE_EMAIL); sends the code.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
challenge | Challenge |
choice | number |
Returns
Promise<PrivateResponseJson>