@wasserstoff/mangi-tg-bot
Version:
A powerful Telegram Bot SDK with built-in authentication, session management, and database integration
10 lines • 554 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleMessageWithReply = void 0;
const handleMessageWithReply = async (ctx) => {
let text = ctx.message.text;
ctx.api.sendMessage(ctx.chat.id, `User send ${text} without reply`);
//Every message user type with 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.handleMessageWithReply = handleMessageWithReply;
//# sourceMappingURL=handleMessageWithReply.js.map