UNPKG

@wabarc/broker

Version:

Pack and store webpages from Telegram channel.

22 lines (21 loc) 466 B
import { Upstream } from './types'; export declare class Broker { private upstream; private handle; private token; private point; constructor(); source(upstream: Upstream): this; github(gh: { token: string; owner: string; repo: string; }): this; dutyMachine(gh: { token: string; owner: string; repo: string; endpoint?: string; }): this; begin(): Promise<boolean>; }