bkjioapk/IDBotRiom_botPublic · Bot Template
AIThis bot helps users find Telegram IDs of users, groups, channels, and bots. It provides commands to get your own ID via /me or inline queries, share chats or users for ID retrieval with /start and the wildcard handler, and includes helpful options like copy buttons and direct chat links. The bot uses TBL APIs such as Bot, Api, and user data to handle messages and inline queries securely.
Utilitytelegram idsid finderinline querychat shareutility botuser id
6 commands0 envUpdated 7d agoCreated Aug 31, 2026
commands/_start.js
javascript · 80 lines
1/**#command2name: /start3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (chat.type != "private") return;13let keyboard = {14 keyboard: [15 [{16 text: "Channel",17 request_chat: {18 request_id: 1,19 chat_is_channel: true,20 request_title: true21 }22 },23 {24 text: "Group",25 request_chat: {26 request_id: 2,27 chat_is_channel: false,28 request_title: true29 }30 }31 ],32 [{33 text: "Bot",34 request_user: {35 request_id: 3,36 user_is_bot: true,37 request_name: true38 }39 },40 {41 text: "User",42 request_user: {43 request_id: 4,44 user_is_bot: false,45 request_name: true46 }47 }48 ],49 [{50 text: "Premium Users",51 request_user: {52 request_id: 5,53 user_is_bot: false,54 user_is_premium: true,55 request_name: true56 }57 }]58 ],59 resize_keyboard: true,60 one_time_keyboard: false61}62 63let text = `Hey welcome to @${bot.name}64Using this bot you can get anyone chat id 65 66Your id : <code> ${user.id} </>67use /help for more details 68 69use /me to get your details 70 71Please select a chat to share with me:72`73// Send message with the custom keyboard74Api.sendMessage({75 chat_id: chat.id,76 text: text,77 reply_markup: keyboard,78 parse_mode: "html",79 message_effect_id: "5107584321108051014"80})