inmsuvo/reactyfbotPublic · Bot Template

ProfileTelegram

AIThe bot automatically replies to guest queries in groups and channels with a rich welcome message. It deletes the previous bot message in a chat to keep the interface clean. In private chats it sends a welcome rich message with inline buttons that let users add the bot to channels or groups. It also forwards any errors to a specified admin via a rich message.

Utilityreactionauto-replyguest_querywelcomeinline_keyboardgroup
4 commands1 envUpdated 12d agoCreated Jul 11, 2026
Back to folder

commands/_start.js

javascript · 26 lines

Raw
1/**#command2name: /start3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13  Api.deleteMessage({14      chat_id: request.chat.id,15      message_id: request.message_id16  })17} catch (error) {}18 19if (request.chat.type == 'private') {20  return Api.call("sendRichMessage", {21      chat_id: request.chat.id,22      ...require('welcome')23  });24}25 26return Bot.runCommand('*');