[{"data":1,"prerenderedAt":218},["ShallowReactive",2],{"guide-article-\u002Fguide\u002Fcreate-bot":3,"guide-neighbors-\u002Fguide\u002Fcreate-bot":194},{"id":4,"title":5,"author":6,"body":7,"category":181,"description":182,"extension":183,"language":184,"meta":185,"navigation":186,"order":187,"path":188,"published":189,"readingMinutes":174,"seo":190,"stem":191,"takeaways":192,"updated":189,"__hash__":193},"guides\u002Fguide\u002Fcreate-bot.md","Create a Telegram bot with BotFather","TGDog",{"type":8,"value":9,"toc":170},"minimark",[10,15,19,23,93,98,108,111,119,123,126,138,142,154,158],[11,12,14],"h2",{"id":13},"before-you-create-your-bot","Before you create your bot",[16,17,18],"p",{},"Start with a dedicated bot for TGDog. You need a Telegram account to create it, but you do not need to write code or host a bot server.",[11,20,22],{"id":21},"create-your-bot-in-six-steps","Create your bot in six steps",[24,25,26,42,53,63,77,87],"ol",{},[27,28,29,33,34,41],"li",{},[30,31,32],"strong",{},"Open official BotFather."," Use ",[35,36,40],"a",{"href":37,"rel":38},"https:\u002F\u002Ft.me\u002FBotFather",[39],"nofollow","@BotFather"," in Telegram and press Start if shown.",[27,43,44,52],{},[30,45,46,47,51],{},"Send ",[48,49,50],"code",{},"\u002Fnewbot","."," BotFather will ask for your bot’s display name.",[27,54,55,58,59,62],{},[30,56,57],{},"Choose a display name."," For example, ",[48,60,61],{},"My Community Guard",". This is the name members see.",[27,64,65,68,69,72,73,76],{},[30,66,67],{},"Choose a unique username."," Use letters, numbers, or underscores; it must be 5–32 characters and end in ",[48,70,71],{},"bot",". Example: ",[48,74,75],{},"my_community_guard_bot",". If taken, try another. The example is not a link or an available-name guarantee.",[27,78,79,82,83,86],{},[30,80,81],{},"Save the API token privately."," BotFather returns your bot’s link and token. Copy the token without sharing it. If compromised or lost, use BotFather’s ",[48,84,85],{},"\u002Ftoken"," command to generate a new one.",[27,88,89,92],{},[30,90,91],{},"Connect it inside TGDog."," Open the extension’s Bot connection screen, paste the token, and connect. Confirm the verified bot identity before continuing to the group setup below.",[94,95,97],"h3",{"id":96},"example-botfather-inputs","Example BotFather inputs",[99,100,106],"pre",{"className":101,"code":103,"language":104,"meta":105},[102],"language-text","\u002Fnewbot\nMy Community Guard\nmy_community_guard_bot\n","text","",[48,107,103],{"__ignoreMap":105},[16,109,110],{},"No token is shown or collected here.",[16,112,113,114,51],{},"Creation steps: ",[35,115,118],{"href":116,"rel":117},"https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Ffeatures#creating-a-new-bot",[39],"Telegram’s official BotFather guide",[11,120,122],{"id":121},"protect-the-token-and-prepare-permissions","Protect the token and prepare permissions",[16,124,125],{},"Treat the token like a password. Paste it only into the TGDog extension, never into this website or a support message.",[16,127,128,129,133,134,51],{},"Next, add your bot to a test supergroup and promote it to administrator in the group’s settings. Grant deletion and member-restriction permissions if you plan to use automatic actions. Continue with ",[35,130,132],{"href":131},"\u002Fguide\u002Fconnect-bot\u002F","bot connection and update delivery"," and ",[35,135,137],{"href":136},"\u002Fguide\u002Fgroup-rules\u002F","supergroup permissions",[11,139,141],{"id":140},"check-your-setup","Check your setup",[143,144,145,148,151],"ul",{},[27,146,147],{},"Use the official BotFather account.",[27,149,150],{},"Keep your bot token private.",[27,152,153],{},"Add the bot to a test supergroup before using member actions.",[11,155,157],{"id":156},"where-to-go-next","Where to go next",[16,159,160,161,165,166,51],{},"If you are setting up TGDog for the first time, follow the ",[35,162,164],{"href":163},"\u002Fhow-to-use\u002F","complete How to use tutorial",". For a deeper explanation of another topic, return to the ",[35,167,169],{"href":168},"\u002Fguide\u002F","Guide library",{"title":105,"searchDepth":171,"depth":171,"links":172},3,[173,175,178,179,180],{"id":13,"depth":174,"text":14},2,{"id":21,"depth":174,"text":22,"children":176},[177],{"id":96,"depth":171,"text":97},{"id":121,"depth":174,"text":122},{"id":140,"depth":174,"text":141},{"id":156,"depth":174,"text":157},"getting-started","Create your own bot, protect its token and prepare it for TGDog.","md","en",{},true,1,"\u002Fguide\u002Fcreate-bot","2026-10-09",{"title":5,"description":182},"guide\u002Fcreate-bot",[147,150,153],"RaovPA6xcVOc3kJYJw8UKH0GABBI0G_hNNEkbuDi7_o",[195,196,199,202,206,210,214],{"path":188,"title":5,"order":187},{"path":197,"title":198,"order":174},"\u002Fguide\u002Fconnect-bot","Connect your bot: polling, webhooks and Chrome",{"path":200,"title":201,"order":171},"\u002Fguide\u002Fgroup-rules","Supergroups, admin permissions and whitelists",{"path":203,"title":204,"order":205},"\u002Fguide\u002Fspam-filter-rules","Keyword, repeated-message and anti-flood rules",4,{"path":207,"title":208,"order":209},"\u002Fguide\u002Fmember-actions","Observe, Block and Remove: what each action does",5,{"path":211,"title":212,"order":213},"\u002Fguide\u002Fmessage-evidence","Message evidence, local storage and retention",6,{"path":215,"title":216,"order":217},"\u002Fguide\u002Ftroubleshooting","Troubleshoot missing updates and Telegram API errors",7,1791598870644]