Skip to content

Instantly share code, notes, and snippets.

`use strict`;
const telegraf = require(`telegraf`);
const { Markup } = telegraf;
const bot = new telegraf(`secret`);
const botId = bot.token.split(`:`)[0];
var map = new Map();
bot.catch(console.log);