telegram-bot-api-lightweight-client
Version:
Lightweight Telegram Bot API client. Exports only minimal Fetch call. Fully compatible with AWS LLRT.
5 lines (4 loc) • 298 B
TypeScript
export declare let client_fetch: <In, Out>(path: string, args: In) => Promise<Out>;
export declare const client_setClientToken: (token: string) => void;
export declare const client_setBaseUrl: (url: string) => void;
export declare const client_setFetch: (customFetch: typeof client_fetch) => void;