UNPKG

@wasserstoff/mangi-tg-bot

Version:

A powerful Telegram Bot SDK with built-in authentication, session management, and database integration

17 lines 641 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createCommanMenu = void 0; const createCommanMenu = async (bot) => { try { await bot.api.setMyCommands([ { command: "start", description: "/start command" }, // { command: "settings", description: "Manage settings" }, //Make sure the menu you create handle what this menu does in welcome.ts which handle commands and all these are basically commands ]); } catch (error) { console.log(error); } }; exports.createCommanMenu = createCommanMenu; //# sourceMappingURL=createMenu.js.map