मैसेज और कंटेंट
Formatting guide
welcome और goodbye मैसेज को सुंदर बनाएँ। bold, italic, links, button, button के रंग और placeholders सीखें।
यह formatting welcome और goodbye मैसेज में चलती है। Notes, filters और rules plain text होते हैं। कोड हाथ से लिखे बिना आज़माना चाहते हैं? Formatting builder इस्तेमाल करें। bot में /markdownhelp भेजें, तो इस पेज का छोटा रूप दिखेगा।
टेक्स्ट के style
| आप लिखें | आपको मिलेगा |
|---|---|
*bold* | bold |
_italic_ | italic |
__underline__ | रेखांकित टेक्स्ट |
~strike~ | |
||spoiler|| | छुपा हुआ टेक्स्ट, दबाने पर दिखता है |
`code` | code |
[text](https://example.com) | "text" शब्द वाला link |
नाम और नंबर (placeholders)
{first}, {last}, {fullname}, {mention}, {username}, {id} और {chatname}। देखें Welcome मैसेज।
मैसेज के नीचे button
हर button अपनी अलग लाइन में लिखें:
[नियम](buttonurl://https://example.com/rules)
[चैनल](buttonurl://https://t.me/mychannel)- पहले brackets में लिखे शब्द button का नाम होते हैं।
buttonurl://के बाद link आता है। Web link और Telegram link चलते हैं। अगर आपhttps://लिखना भूल जाएँ, तो bot खुद जोड़ देता है।tg://link किसी chat, user या invite को खोलने वाला होना चाहिए।- Label 64 अक्षर तक का हो सकता है।
- link के आखिर में
:sameजोड़ दें, तो button पिछले button की उसी लाइन में आ जाएगा। - आप ज़्यादा से ज़्यादा 8 button रख सकते हैं, एक लाइन में 4।
[चैनल](buttonurl://https://t.me/mychannel)
[सपोर्ट](buttonurl://https://t.me/mysupport:same)Button के रंग
link के बाद रंग का शब्द जोड़ें: :primary (नीला), :success (हरा) या :danger (लाल)। रंग न लिखें तो button सामान्य दिखता है। आप रंग को :same के साथ मिला सकते हैं।
[जुड़ो](buttonurl://https://t.me/mychat:success)
[नियम](buttonurl://https://example.com/rules:danger:same)पूरा उदाहरण
/setwelcome स्वागत है {mention}, *{chatname}* में!
कृपया _नियम_ पढ़ लेना।
[नियम](buttonurl://https://example.com/rules)
[चैनल](buttonurl://https://t.me/mychannel)
[सपोर्ट](buttonurl://https://t.me/mysupport:same)