UNPKG

telegram-node-bot

Version:
24 lines (20 loc) 449 B
'use strict' class BaseUpdateFetcher { /** * @param {TelegramApi} api * @param {BaseLogger} logger */ constructor(api, logger) { this._api = api this._logger = logger } /** * @callback fetchUpdatesCallback * @param {Update[]} updates */ /** * @param {fetchUpdatesCallback} callback */ fetch(callback) { throw 'Not implemented' } } module.exports = BaseUpdateFetcher