Module exposing: resolveTwilioCredential, callTwilioApi, sendTwilioMessage, fetchTwilioMessage, deleteTwilioMessage, updateTwilioCall, fetchTwilioMedia, sendTwilioTypingIndicator
// Source: https://github.com/vercel/chat | License: MIT | Copyright 2026 Vercel, Inc
// Provided via justclaw.it.com; keep this notice with the code.
export type TwilioCredential = string | (() => Promise<string> | string);
export type TwilioFetch = typeof fetch;
export interface TwilioCredentials {
accountSid?: TwilioCredential;
authToken?: TwilioCredential;
}
export type TwilioFormValue =
| boolean
| number
| readonly string[]
| string
| null
| undefined;
export type TwilioFormFields = Readonly<Record<string, TwilioFormValue>>;
export interface TwilioApiOptions {
apiBaseUrl?: string;
apiUrl?: string;
credentials?: TwilioCredentials;
fetch?: TwilioFetch;
}
export interface TwilioApiResponse {
body: unknown;
ok: boolean;
status: number;
}
export interfa
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key