Telegram बॉट कमांड लिस्ट जनरेटर
सेकंडों में अपने Telegram बॉट के लिए तैयार BotFather कमांड लिस्ट और setMyCommands JSON पेलोड बनाएं।
@BotFather फॉर्मैट (/setcommands)
—
Bot API JSON (setMyCommands)
—
इसका उपयोग कैसे करें
@BotFather खोलें → अपना बॉट चुनें → /setcommands → पहले ब्लॉक से टेक्स्ट पेस्ट करें। या JSON को setMyCommands Bot API मेथड में भेजें।
आपको कमांड मेन्यू की ज़रूरत क्यों है?
कमांड मेन्यू यूज़र्स को इनपुट फील्ड के ठीक बगल में बॉट के उपलब्ध ऐक्शन दिखाता है, जिससे बिना अतिरिक्त स्पष्टीकरण के फीचर डिस्कवरी बढ़ती है।
मैं अपने बॉट में कमांड लिस्ट कैसे जोड़ूं?
@BotFather के साथ चैट खोलें, अपना बॉट चुनें, /setcommands भेजें, और "command - description" फॉर्मैट में जनरेट की गई लिस्ट पेस्ट करें।
कमांड नामों के लिए क्या आवश्यकताएं हैं?
कमांड नामों में केवल लोअरकेस लैटिन अक्षर, अंक और अंडरस्कोर हो सकते हैं, अधिकतम 32 अक्षर, बिना शुरुआती स्लैश के।
मुझे JSON फॉर्मैट की ज़रूरत क्यों है?
JSON फॉर्मैट का उपयोग Bot API के setMyCommands मेथड के ज़रिए प्रोग्रामेटिक रूप से कमांड सेट करने के लिए किया जाता है, जो ऑटोमेशन या बॉट के मेन्यू को डायनामिक रूप से अपडेट करने के लिए उपयोगी है।
अक्सर पूछे जाने वाले प्रश्न
How do I set up a command list for my Telegram bot?
This generator produces a ready BotFather command list plus the exact setMyCommands JSON payload — paste the list into @BotFather or call the API directly with the JSON.
What is the setMyCommands API method used for?
It registers the slash-command menu users see when they tap the '/' icon in a chat with your bot, so they can discover available commands without reading documentation.
How many commands can a Telegram bot have?
Telegram allows up to 100 commands per bot via setMyCommands, though a menu with more than 10-15 becomes hard for users to scan — keep it to your most-used commands.