2023-08-13 16:48:04 +03:00

44 lines
2.7 KiB
JavaScript

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpError = exports.GrammyError = exports.Api = exports.matchFilter = exports.Composer = exports.Context = exports.InputFile = exports.BotError = exports.Bot = void 0;
// Commonly used stuff
var bot_js_1 = require("./bot.js");
Object.defineProperty(exports, "Bot", { enumerable: true, get: function () { return bot_js_1.Bot; } });
Object.defineProperty(exports, "BotError", { enumerable: true, get: function () { return bot_js_1.BotError; } });
var types_js_1 = require("./types.js");
Object.defineProperty(exports, "InputFile", { enumerable: true, get: function () { return types_js_1.InputFile; } });
var context_js_1 = require("./context.js");
Object.defineProperty(exports, "Context", { enumerable: true, get: function () { return context_js_1.Context; } });
// Convenience stuff, built-in plugins, and helpers
__exportStar(require("./convenience/constants.js"), exports);
__exportStar(require("./convenience/inline_query.js"), exports);
__exportStar(require("./convenience/input_media.js"), exports);
__exportStar(require("./convenience/keyboard.js"), exports);
__exportStar(require("./convenience/session.js"), exports);
__exportStar(require("./convenience/webhook.js"), exports);
// A little more advanced stuff
var composer_js_1 = require("./composer.js");
Object.defineProperty(exports, "Composer", { enumerable: true, get: function () { return composer_js_1.Composer; } });
var filter_js_1 = require("./filter.js");
Object.defineProperty(exports, "matchFilter", { enumerable: true, get: function () { return filter_js_1.matchFilter; } });
// Internal stuff for expert users
var api_js_1 = require("./core/api.js");
Object.defineProperty(exports, "Api", { enumerable: true, get: function () { return api_js_1.Api; } });
var error_js_1 = require("./core/error.js");
Object.defineProperty(exports, "GrammyError", { enumerable: true, get: function () { return error_js_1.GrammyError; } });
Object.defineProperty(exports, "HttpError", { enumerable: true, get: function () { return error_js_1.HttpError; } });