Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


The Telegram Bot Framework.
Very Popular
Go to Latest
import d from "";export { d as debug };
// === Export system-specific operations// Turn an AsyncIterable<Uint8Array> into a streamexport const itrToStream = (itr: AsyncIterable<Uint8Array>) => { // do not assume ReadableStream.from to exist yet const it = itr[Symbol.asyncIterator](); return new ReadableStream({ async pull(controller) { const chunk = await; if (chunk.done) controller.close(); else controller.enqueue(chunk.value); }, });};
// === Base configuration for `fetch` callsexport const baseFetchConfig = (_apiRoot: string) => ({});
export const defaultAdapter = "cloudflare";