UNPKG

@botocrat/poller

Version:

Telegram server poller for Botocrat

6 lines 251 B
import Botocrat from "@botocrat/core" import {ITelegramClient} from "@botocrat/client" export declare const withPoller: (Botocrat, ITelegramClient, timeout?: number, onError?: (e: Error) => void) => Botocrat & { poll: () => void stop: () => void }