touhidul02580/nahid_otp_botPublic · Bot Template
AIThis bot helps users find Telegram IDs for users, groups, channels, and bots. It handles forwarded messages and chat-share updates to return the corresponding chat or user ID with copy and open-chat buttons. It also provides a /me command for the current user's details and supports inline queries to share personal Telegram info. The /start menu presents share buttons for channels, groups, bots, users, and premium users.
Utilitytelegram idchat iduser idinline querychat shareid finder
6 commands0 envUpdated 2d agoCreated Jul 31, 2026
commands/_help.js
javascript · 31 lines
1/**#command2name: /help3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (chat.type != "private") return;13 14 const text = update.message.text.trim();15 16 const helpText = `17<b>What this bot can do:</b>18• Get Telegram IDs of users, groups or channels.19• You can also use the chat share options for quick access.20 21<b>Examples:</b>22Forward any user’s or channel’s message 23 24Use chat share menu to send a group, channel, or bot25 `26 27 Api.sendMessage({28 text: helpText,29 parse_mode: "HTML",30 message_effect_id: "5107584321108051014"31 });