telegraf
Version:
Modern Telegram Bot Framework
7 lines • 378 B
TypeScript
/// <reference types="node" />
import * as http from 'http';
import { Update } from '../types/typegram';
export default function (hookPath: string, updateHandler: (update: Update, res: http.ServerResponse) => Promise<void>): (req: http.IncomingMessage & {
body?: Update;
}, res: http.ServerResponse, next?: () => void) => Promise<void>;
//# sourceMappingURL=webhook.d.ts.map