├── .gitignore ├── .vscode └── settings.json ├── src ├── helpers │ ├── mod.ts │ └── genBot.ts ├── modules │ ├── start.ts │ ├── mod.ts │ └── cloner.ts ├── locals.ts └── run.ts ├── deno.json ├── import_map.json ├── env.ts ├── README.md ├── LICENSE.md └── deno.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | test.ts -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true, 3 | "deno.unstable": true 4 | } 5 | -------------------------------------------------------------------------------- /src/helpers/mod.ts: -------------------------------------------------------------------------------- 1 | import { genBot } from "./genBot.ts"; 2 | 3 | export default genBot; 4 | -------------------------------------------------------------------------------- /deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "importMap": "./import_map.json", 3 | "tasks": { 4 | "test": "deno run --allow-net --allow-read --allow-env src/locals.ts", 5 | "serverless": "deno run --allow-net --allow-read --allow-env src/run.ts" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/modules/start.ts: -------------------------------------------------------------------------------- 1 | import { Composer } from "grammy/mod.ts"; 2 | 3 | const composer = new Composer(); 4 | 5 | composer.command("start", async (ctx) => { 6 | await ctx.reply("Hi, I'm online!"); 7 | }); 8 | 9 | export default composer; 10 | -------------------------------------------------------------------------------- /src/modules/mod.ts: -------------------------------------------------------------------------------- 1 | import { Composer } from "grammy/mod.ts"; 2 | 3 | import start from "./start.ts"; 4 | import cloner from "./cloner.ts"; 5 | 6 | const composer = new Composer(); 7 | 8 | composer.use(start); 9 | composer.use(cloner); 10 | 11 | export default composer; 12 | -------------------------------------------------------------------------------- /import_map.json: -------------------------------------------------------------------------------- 1 | { 2 | "imports": { 3 | "dotenv": "https://deno.land/std@0.154.0/dotenv/mod.ts", 4 | "envalid": "https://deno.land/x/envalid@0.1.2/mod.ts", 5 | "server": "https://deno.land/std@0.154.0/http/server.ts", 6 | "grammy/": "https://deno.land/x/grammy@v1.12.0/" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /env.ts: -------------------------------------------------------------------------------- 1 | import { config } from "dotenv"; 2 | import { cleanEnv, str } from "envalid"; 3 | 4 | await config({ export: true }); 5 | 6 | export default cleanEnv(Deno.env.toObject(), { 7 | BOT_TOKEN: str(), 8 | WEBHOOK_PATH: str(), // eg: CloneBot (the webhook would point to /CloneBot) 9 | }); 10 | -------------------------------------------------------------------------------- /src/helpers/genBot.ts: -------------------------------------------------------------------------------- 1 | import { Bot } from "grammy/mod.ts"; 2 | 3 | const botsList = new Map(); 4 | 5 | export async function genBot(token: string) { 6 | let bot = botsList.get(token); 7 | if (!bot) { 8 | bot = new Bot(token); 9 | await bot.init(); 10 | botsList.set(token, bot); 11 | } 12 | return bot; 13 | } 14 | -------------------------------------------------------------------------------- /src/locals.ts: -------------------------------------------------------------------------------- 1 | import { Bot } from "grammy/mod.ts"; 2 | 3 | import config from "../env.ts"; 4 | import composer from "./modules/mod.ts"; 5 | 6 | // we set up a test instance for the bot, using the BOT_TOKEN provided in the .env file. 7 | 8 | const bot = new Bot(config.BOT_TOKEN); 9 | await bot.init(); 10 | console.info(`Started as @${bot.botInfo.username}`); 11 | 12 | bot.use(composer); 13 | 14 | bot.start({ 15 | drop_pending_updates: true, 16 | allowed_updates: ["message"], 17 | }); 18 | 19 | Deno.addSignalListener("SIGINT", () => bot.stop()); 20 | Deno.addSignalListener("SIGTERM", () => bot.stop()); 21 | -------------------------------------------------------------------------------- /src/run.ts: -------------------------------------------------------------------------------- 1 | import { serve } from "server"; 2 | import { webhookCallback } from "grammy/mod.ts"; 3 | 4 | import config from "../env.ts"; 5 | import composer from "./modules/mod.ts"; 6 | import { genBot } from "./helpers/genBot.ts"; 7 | 8 | serve(async (req) => { 9 | if (req.method === "POST") { 10 | const url = new URL(req.url); 11 | if (url.pathname.slice(1) === config.WEBHOOK_PATH) { 12 | try { 13 | const token = url.searchParams.get("token"); 14 | if (!token) return; 15 | const current_bot = await genBot(token); 16 | if (!current_bot) return; 17 | current_bot.use(composer); 18 | return await webhookCallback(current_bot, "std/http")(req); 19 | } catch (error) { 20 | return new Response("Error " + error.message); 21 | } 22 | } 23 | } 24 | return new Response("Server is UP!"); 25 | }); 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CloneBot 2 | Template repository for making clone-able telegram bots using [grammY](https://grammy.dev) telegram bot library. 3 | 4 | # Variables 5 | - `BOT_TOKEN` - A telegram bot token (for testing the bot when hosted locally). 6 | - `WEBHOOK_PATH` - The path to point the webhook domain to, eg: setting it as `CloneBot` would point the webhook to `https:///CloneBot?token=`. 7 | 8 | # Setting up 9 | This repository can be deployed and tested right out of the box. 10 | 1. Deploy it on dash.deno.com (or wherever, just run it using webhooks). 11 | 2. Set the webhook for your main bot: `https://api.telegram.org/bot/setWebhook?url=https:///?token=`. 12 | 3. Open the bot on telegram, it should now be responding to `/start`. 13 | 4. Forward a message with a bot's token from [@BotFather](https://BotFather.t.me/) to this bot and wait for the confirmation message! 14 | 15 | In addition to that, you can test the bot locally using deno tasks: `deno task test`. 16 | 17 | # Credits 18 | - [Aditya](https://xditya.me) for [this template repository](https://github.com/xditya/GrammyCloneBot). 19 | - [SpEcHiDe](https://www.shrimadhavuk.me/) for [IDNWB](https://github.com/SpEcHiDe/IDNWB). 20 | - [grammY](https://github.com/grammyjs/) for [grammY](https://grammy.dev)! -------------------------------------------------------------------------------- /src/modules/cloner.ts: -------------------------------------------------------------------------------- 1 | import { Composer } from "grammy/mod.ts"; 2 | 3 | import config from "../../env.ts"; 4 | import { genBot } from "../helpers/genBot.ts"; 5 | 6 | const composer = new Composer(); 7 | 8 | composer.on("msg:text").filter( 9 | (ctx) => ctx.msg.forward_from?.username?.toLowerCase() === "botfather", 10 | async (ctx) => { 11 | const entities = ctx.message?.entities; 12 | const msgText = ctx.message?.text || ""; 13 | const reply = await ctx.reply("Generating a clone.. Please wait.."); 14 | // extract bot token 15 | const bot_token = extractBotToken(msgText, entities); 16 | if (bot_token !== undefined) { 17 | // Create an instance of the `Bot` class and pass your authentication token to it. 18 | const bot = await genBot(bot_token); 19 | if (bot) { 20 | try { 21 | // get the current bots webhook and extract domain 22 | const webhookInfo = await ctx.api.getWebhookInfo(); 23 | const domain = webhookInfo.url?.split(config.WEBHOOK_PATH)[0]; 24 | await bot.api.setWebhook( 25 | `${domain}${config.WEBHOOK_PATH}?token=${bot_token}`, 26 | ); 27 | } catch (e) { 28 | console.error(e); 29 | } 30 | } 31 | await ctx.api.editMessageText( 32 | ctx.chat!.id, 33 | reply.message_id, 34 | `Successfully created a clone on @${bot.botInfo.username}!`, 35 | ); 36 | } 37 | }, 38 | ); 39 | 40 | // deno-lint-ignore no-explicit-any 41 | function extractBotToken(msgText: string, entities: any): string | undefined { 42 | // https://github.com/wjclub/telegram-bot-tokenextract/pull/1 43 | for (const entity_ in entities) { 44 | const entity = entities[Number(entity_)]; 45 | if (entity.type == "code") { 46 | return msgText?.substring( 47 | entity.offset, 48 | entity.offset + entity.length, 49 | ); 50 | } 51 | } 52 | } 53 | 54 | export default composer; 55 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | GNU LESSER GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | 6 | Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 7 | 8 | This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 9 | 10 | 0. Additional Definitions. 11 | 12 | As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License. 13 | 14 | “The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. 15 | 16 | An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. 17 | 18 | A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”. 19 | 20 | The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. 21 | 22 | The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 23 | 24 | 1. Exception to Section 3 of the GNU GPL. 25 | 26 | You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 27 | 28 | 2. Conveying Modified Versions. 29 | 30 | If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: 31 | 32 | a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or 33 | b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 34 | 3. Object Code Incorporating Material from Library Header Files. 35 | 36 | The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: 37 | 38 | a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. 39 | b) Accompany the object code with a copy of the GNU GPL and this license document. 40 | 4. Combined Works. 41 | 42 | You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: 43 | 44 | a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. 45 | b) Accompany the Combined Work with a copy of the GNU GPL and this license document. 46 | c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. 47 | d) Do one of the following: 48 | 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 49 | 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. 50 | e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 51 | 5. Combined Libraries. 52 | 53 | You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: 54 | 55 | a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. 56 | b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 57 | 6. Revised Versions of the GNU Lesser General Public License. 58 | 59 | The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. 60 | 61 | Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. 62 | 63 | If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. -------------------------------------------------------------------------------- /deno.lock: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2", 3 | "remote": { 4 | "https://cdn.skypack.dev/-/debug@v4.3.4-o4liVvMlOnQWbLSYZMXw/dist=es2019,mode=imports/optimized/debug.js": "671100993996e39b501301a87000607916d4d2d9f8fc8e9c5200ae5ba64a1389", 5 | "https://cdn.skypack.dev/-/ms@v2.1.2-giBDZ1IA5lmQ3ZXaa87V/dist=es2019,mode=imports/optimized/ms.js": "fd88e2d51900437011f1ad232f3393ce97db1b87a7844b3c58dd6d65562c1276", 6 | "https://cdn.skypack.dev/debug@4.3.4": "7b1d010cc930f71b940ba5941da055bc181115229e29de7214bdb4425c68ea76", 7 | "https://deno.land/std@0.153.0/fmt/colors.ts": "ff7dc9c9f33a72bd48bc24b21bbc1b4545d8494a431f17894dbc5fe92a938fc4", 8 | "https://deno.land/std@0.154.0/dotenv/mod.ts": "3ad3c1caddb82bf9413686e8cfe24272b77089bc15e8840bdeccad4655e3a8db", 9 | "https://deno.land/std@0.154.0/dotenv/util.ts": "6cc392f087577a26a27f0463f77cc0c31a390aa055917099935b36eb2454592d", 10 | "https://deno.land/std@0.162.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", 11 | "https://deno.land/std@0.162.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934", 12 | "https://deno.land/std@0.162.0/async/deferred.ts": "d8fb253ffde2a056e4889ef7e90f3928f28be9f9294b6505773d33f136aab4e6", 13 | "https://deno.land/std@0.162.0/bytes/bytes_list.ts": "aba5e2369e77d426b10af1de0dcc4531acecec27f9b9056f4f7bfbf8ac147ab4", 14 | "https://deno.land/std@0.162.0/bytes/equals.ts": "3c3558c3ae85526f84510aa2b48ab2ad7bdd899e2e0f5b7a8ffc85acb3a6043a", 15 | "https://deno.land/std@0.162.0/bytes/mod.ts": "b2e342fd3669176a27a4e15061e9d588b89c1aaf5008ab71766e23669565d179", 16 | "https://deno.land/std@0.162.0/io/buffer.ts": "fae02290f52301c4e0188670e730cd902f9307fb732d79c4aa14ebdc82497289", 17 | "https://deno.land/std@0.162.0/io/types.d.ts": "107e1e64834c5ba917c783f446b407d33432c5d612c4b3430df64fc2b4ecf091", 18 | "https://deno.land/std@0.162.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", 19 | "https://deno.land/std@0.162.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", 20 | "https://deno.land/std@0.162.0/path/_util.ts": "d16be2a16e1204b65f9d0dfc54a9bc472cafe5f4a190b3c8471ec2016ccd1677", 21 | "https://deno.land/std@0.162.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", 22 | "https://deno.land/std@0.162.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", 23 | "https://deno.land/std@0.162.0/path/mod.ts": "56fec03ad0ebd61b6ab39ddb9b0ddb4c4a5c9f2f4f632e09dd37ec9ebfd722ac", 24 | "https://deno.land/std@0.162.0/path/posix.ts": "6b63de7097e68c8663c84ccedc0fd977656eb134432d818ecd3a4e122638ac24", 25 | "https://deno.land/std@0.162.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", 26 | "https://deno.land/std@0.162.0/path/win32.ts": "ee8826dce087d31c5c81cd414714e677eb68febc40308de87a2ce4b40e10fb8d", 27 | "https://deno.land/std@0.162.0/streams/buffer.ts": "357d725e1c13ee48af5e5da50ef8811ac8b12926d477ec0e3b40fed6d8d83dd2", 28 | "https://deno.land/std@0.162.0/streams/conversion.ts": "555c6c249f3acf85655f2d0af52d1cb3168e40b1c1fa26beefea501b333abe28", 29 | "https://deno.land/std@0.162.0/streams/delimiter.ts": "e18febbded53df275a897fac9249a6d0a6a5efc943256ad0f6cb23bf4d757668", 30 | "https://deno.land/std@0.162.0/streams/merge.ts": "88ed3dfa030ae076802688e4cadd762a251a41d81ed1776dfd9a2a9a0e970195", 31 | "https://deno.land/std@0.162.0/streams/mod.ts": "f402791689d74bd091ecf8f4015bc5b7d5c18132a55c7c72fe0576d1fb254cf9", 32 | "https://deno.land/x/envalid@0.1.2/core.ts": "9cb1b469919af72d3ad8576f952c8b695e9b5356878d84f15db9328b7afab2d5", 33 | "https://deno.land/x/envalid@0.1.2/envalid.ts": "76755815e2643aacbe604e3cd76415f0f4c8cc04d7cdbae0ab05a0ebc86ceb38", 34 | "https://deno.land/x/envalid@0.1.2/errors.ts": "8524f99ff929abe5c9fa07c250cafb15e564d5339ae8fdfabd6d56fab9ec7e00", 35 | "https://deno.land/x/envalid@0.1.2/middleware.ts": "c7a88e1dce3f280471844c36080a346ac3aadc4420b3fbff92807d21f3aec1e2", 36 | "https://deno.land/x/envalid@0.1.2/mod.ts": "c82f8e49cf6b008478a11275bbc9c55a4f900a2010fb4d0882cfba6f914eaa1c", 37 | "https://deno.land/x/envalid@0.1.2/reporter.ts": "5affd2863a25cca71e7f249504f0670112e5e1742dd8a3977764e45fa5957dcc", 38 | "https://deno.land/x/envalid@0.1.2/types.ts": "3c8630c015922739c8e0c3638dd446bbaf627ecccfb9b21329dbd0af82c4236d", 39 | "https://deno.land/x/envalid@0.1.2/validators.ts": "9252d4a0a70a7c1895be7813596a562cd8b105756f7cbbd8e49caf1bf4998453", 40 | "https://deno.land/x/grammy@v1.12.0/bot.ts": "6e4ceacfa6febe7262bb3792f2889189e859d79f9e5835f2297f703ed230ebc9", 41 | "https://deno.land/x/grammy@v1.12.0/composer.ts": "1d2e164f9934466553d7f9bf9bf2fe65a1f453b7f7ce3cf57066d87382c6dac2", 42 | "https://deno.land/x/grammy@v1.12.0/context.ts": "eaf9ab22ef40d0244c4ca52d781e272dc84cac39dd3b4fe9874f6e3cb16a745b", 43 | "https://deno.land/x/grammy@v1.12.0/convenience/frameworks.deno.ts": "dfa1c824ce3c06447cc0d714210db77e87502fb45879662c36a721a603109b9f", 44 | "https://deno.land/x/grammy@v1.12.0/convenience/frameworks.shared.ts": "b59c24178da1fd0a126dca331dae4a04dfaed1d5604485cb9ca14a36bf0fa106", 45 | "https://deno.land/x/grammy@v1.12.0/convenience/keyboard.ts": "e3535432bcc35b00f991e08f8707a6ad330f9c851fd189832d163c0c39862171", 46 | "https://deno.land/x/grammy@v1.12.0/convenience/session.ts": "07fc0c64650d87cfe20de95c3261b9edf3ff46c65a7b86d98c3e0ce001220722", 47 | "https://deno.land/x/grammy@v1.12.0/convenience/webhook.ts": "805aa953f4626aff7b84fde156dff2ea3cc166d674f2d844a8ab2adad1a03589", 48 | "https://deno.land/x/grammy@v1.12.0/core/api.ts": "9484ae98c2bfa750388f0ccf6226b744b058ba048f3c0868e256b277ac8a028a", 49 | "https://deno.land/x/grammy@v1.12.0/core/client.ts": "8914f13b2cb69f16104a9711e4fea0a4500edd0950736dcc3ac078ab46f7a5ab", 50 | "https://deno.land/x/grammy@v1.12.0/core/error.ts": "4638b2127ebe60249c78b83011d468f5e1e1a87748d32fe11a8200d9f824ad13", 51 | "https://deno.land/x/grammy@v1.12.0/core/payload.ts": "bed2e44fb567259ee2cab70a7734544c90fae80cb937b354ee1427d0f0883b39", 52 | "https://deno.land/x/grammy@v1.12.0/filter.ts": "8fa7186db9c1eb84f0138ab9984e723d2ea76dac9bcb6889268c92c9a8fc2e8c", 53 | "https://deno.land/x/grammy@v1.12.0/mod.ts": "6d96b0c7b4c8b9448b9f9903a95a78c3379febd36b0f6485ad567d79b153c794", 54 | "https://deno.land/x/grammy@v1.12.0/platform.deno.ts": "62375602eb39a3f711e01c20e39e6af127e612f8d02c45fb7c32b37bad33210b", 55 | "https://deno.land/x/grammy@v1.12.0/types.deno.ts": "19214bd12cb0796083954dc00e1629fbf6fa8d495bdf7d6b66c45398c4d5f1c9", 56 | "https://deno.land/x/grammy@v1.12.0/types.ts": "729415590dfa188dbe924dea614dff4e976babdbabb28a307b869fc25777cdf0", 57 | "https://esm.sh/@grammyjs/types@2.10.0": "7d6747b44ec3ef8c6ec6126236a6e3b5f59be29ee758441d509b2da45f4f727d", 58 | "https://esm.sh/v99/@grammyjs/types@2.10.0/api.d.ts": "efc90a31eb6f59ae5e7a4cf5838f46529e2fa6fa7e97a51a82dbd28afad21592", 59 | "https://esm.sh/v99/@grammyjs/types@2.10.0/deno/types.js": "56f17a0d1225b8dd12f7b0610c56ea32847807a42910a28997a5129f19b3afab", 60 | "https://esm.sh/v99/@grammyjs/types@2.10.0/index.d.ts": "1c60004dec6270d9badd5ed195dbd6d4ddd00fa701acfeea922ed9f4861576a4", 61 | "https://esm.sh/v99/@grammyjs/types@2.10.0/inline.d.ts": "573b2790679c5c0910847a60064ae85c6f6007bfa139e3f611dd917f9c54399b", 62 | "https://esm.sh/v99/@grammyjs/types@2.10.0/manage.d.ts": "b676fb7be0583d2a9332b13eb928bffea0d106c8d24b9fd84809addc0830d8c0", 63 | "https://esm.sh/v99/@grammyjs/types@2.10.0/markup.d.ts": "a70b21cd9e7a6708c0f3697b067e0b97cec864a960883e0c3e9dd16c18ee0d5e", 64 | "https://esm.sh/v99/@grammyjs/types@2.10.0/menu-button.d.ts": "096e03dadaf3af415c48c14cb91380769df01dcccbb0931575bf5f15a5df5cd7", 65 | "https://esm.sh/v99/@grammyjs/types@2.10.0/message.d.ts": "72e7ea2b9424c966db0599e75852c230281c3453531100bf1b432921c1da227f", 66 | "https://esm.sh/v99/@grammyjs/types@2.10.0/passport.d.ts": "e3fb63aec96510bcc317ef48fd25b435444b8f407502d7568c00fce15f2958fd", 67 | "https://esm.sh/v99/@grammyjs/types@2.10.0/payment.d.ts": "410c384a26d24252219713adeb0c360d5d038102ab9d1a6e9aad20b603830d0c", 68 | "https://esm.sh/v99/@grammyjs/types@2.10.0/proxied.d.ts": "a4720570e16d86b6030d0e03ad1b7eb3fa492d9e24833fa322f09f3494874629", 69 | "https://esm.sh/v99/@grammyjs/types@2.10.0/update.d.ts": "caf8e01cc0857bde5a787243bc307d3e621f86242dd4058f5e20b156f61c083d" 70 | } 71 | } 72 | --------------------------------------------------------------------------------