usePhoneCalls
usePhoneCalls(
options:object):UsePhoneCallsResult
Defined in: src/react/usePhoneCalls.ts:146
React hook for phone calling: checking availability, creating calls, fetching their status, and polling for completion.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
|
‐ |
|
|
|
Whether to fetch feature availability automatically on mount (default: true) |
|
|
|
Optional base URL for the API requests. |
|
|
() => |
Custom function to get auth token for API calls |
|
|
( |
Optional callback for error handling |
Returns
Last updated on