Przejdź do głównej zawartości

Function: useBotProtection()

useBotProtection(): object

Returns

execute

execute: (options?) => Promise<string | null>

Execute a bot protection challenge and get a token

Parameters

options?
action?

string

timeoutMs?

number

Returns

Promise<string | null>

isAvailable

isAvailable: boolean = !!manager

Whether bot protection is configured and available