ghost_bots/ghost_tg_info_botPublic · Bot Template

AIThis bot helps users find Telegram IDs for users, groups, channels, and bots. The /start command shows a keyboard that uses Telegram's chat and user share requests to capture a selected chat or user, and the wildcard handler replies with the corresponding ID. /me displays the current user's profile details, while /inline_query returns the user's Telegram info as an inline result. It also includes a /help command explaining usage and supports copying IDs via inline keyboard buttons.

Utilitytelegram-iduser-idchat-idinline-querychat-shareid-finder
ProfileTelegram
6 commands0 envUpdated 5d agoCreated Sep 2, 2026
Back to folder

commands/_help.js

javascript · 31 lines

Raw
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  });