UNPKG

@wasserstoff/mangi-tg-bot

Version:

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

10 lines 572 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.handleMessageWithoutReply = void 0; const handleMessageWithoutReply = async (ctx) => { let text = ctx.message.text; ctx.api.sendMessage(ctx.chat.id, `User send ${text} without reply`); //Every message user type without being force reply true will be handled here you can do anything you want use complicated logic to handle messages... sky is the limit , }; exports.handleMessageWithoutReply = handleMessageWithoutReply; //# sourceMappingURL=handleMessageWithoutReply.js.map